Delete a snapshot
curl --request DELETE \
--url https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Snapshot deleted successfully",
"data": {
"message": "<string>",
"snapshotId": "<string>"
}
}Server snapshots
Delete a snapshot
Deletes a snapshot record of a VPS owned by the current user. Snapshots that are still pending or being created cannot be deleted.
Required API key permission: vps:write
DELETE
/
vps
/
{vpsId}
/
snapshots
/
{snapshotId}
Delete a snapshot
curl --request DELETE \
--url https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.storiza.store/vps/{vpsId}/snapshots/{snapshotId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "Snapshot deleted successfully",
"data": {
"message": "<string>",
"snapshotId": "<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?