Delete Branch
curl --request DELETE \
--url https://api.zerodrive.dev/v1/branches/{branch_name} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/branches/{branch_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/branches/{branch_name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){}Delete Branch
Delete a drive branch and purge its overlay blobs.
DELETE
https://api.zerodrive.dev
/
v1
/
branches
/
{branch_name}
Delete Branch
curl --request DELETE \
--url https://api.zerodrive.dev/v1/branches/{branch_name} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/branches/{branch_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/branches/{branch_name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){}
