Erase the backups

Delete every backup of a VM now. You cannot undo this.

DELETE /v1/tenants/{tenant}/vms/{name}/backups

curl -X DELETE "https://api.shako.dev/v1/tenants/acme/vms/web1/backups" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200

{
  "name": "web1",
  "deleted": true
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: contributor or owner.

Path parameters

tenantstringrequired
The tenant's name, from GET /v1/tenants.
namestringrequired
The VM's name.

Response

200 with the names of the path and "deleted": true.

Behavior

The VM stays. With backups on, the next night backs it up again. The storage keeps the deleted data 7 more days, then deletes it.

The errors. All the endpoints of Backups.