Delete a backup
curl --request DELETE \
--url https://api.storiza.store/apps/{id}/backups/{backupId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/backups/{backupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/backups/{backupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup deleted",
"data": {
"appId": "<string>",
"backupCenterId": "<string>",
"sizeMi": 123,
"prefix": "<string>",
"id": "<string>",
"mechanism": "volume",
"status": "pending",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
}App backups
Delete a backup
Delete a backup and its stored archive. The object goes first: a row without its archive is a backup that cannot be restored, while an archive without a row is only wasted space a later sweep can find.
Required API key permission: apps:write
DELETE
/
apps
/
{id}
/
backups
/
{backupId}
Delete a backup
curl --request DELETE \
--url https://api.storiza.store/apps/{id}/backups/{backupId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/apps/{id}/backups/{backupId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/apps/{id}/backups/{backupId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Backup deleted",
"data": {
"appId": "<string>",
"backupCenterId": "<string>",
"sizeMi": 123,
"prefix": "<string>",
"id": "<string>",
"mechanism": "volume",
"status": "pending",
"message": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"finishedAt": "2023-11-07T05:31:56Z"
}
}Authorizations
An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….
Was this page helpful?