Delete a storage snapshot
DELETE
Frees the space it held. Cannot be undone.
apiToken storage:writeheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: storage:write
id*integerThe service id, as returned by GET /v1/services.
name*stringname from GET …/storage/snapshots.
Deleted.
application/json- response
ok*booleancurl -X DELETE 'https://api.deluxhost.net/v1/services/0/storage/snapshots/string' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
{ "ok": true}Create a storage snapshot POST
A manual snapshot of the whole box. Ten per 15 minutes per account, shared with the dashboard.
Restore a storage snapshot POST
**Destructive.** Every change made after the snapshot is lost, and every snapshot taken\nafter it is destroyed (`destroyed` lists them). The body must carry `confirm: true`;\nwithout it the answer is `400` with `details.code: confirmation_required` and nothing\nhappens. Five per 15 minutes per account, shared with the dashboard.