Delete a backup
curl --request DELETE \
--url https://api.storiza.store/vps/{vpsId}/backups/{backupId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{vpsId}/backups/{backupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{vpsId}/backups/{backupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup deleted successfully",
"data": {
"message": "<string>",
"backupId": "<string>"
}
}Server backups
Delete a backup
Queues a deletion job that removes the backup from storage. Backups still being created (pending/creating) cannot be deleted.
Required API key permission: vps:write
DELETE
/
vps
/
{vpsId}
/
backups
/
{backupId}
Delete a backup
curl --request DELETE \
--url https://api.storiza.store/vps/{vpsId}/backups/{backupId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{vpsId}/backups/{backupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{vpsId}/backups/{backupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup deleted successfully",
"data": {
"message": "<string>",
"backupId": "<string>"
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Path Parameters
Minimum string length:
1Minimum string length:
1Was this page helpful?