v7

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2026-01-26163065.1 KB

delete/v1/sandboxes/{id}/delete

Path parameters

idstring required

Sandbox ID

Sandbox ID

Request body

keep_storageboolean

Keep storage after deletion (default: false - storage deleted)

create_snapshotboolean

Create snapshot before deleting storage

snapshot_namestring

Custom name for the snapshot

Example request

{
  "keep_storage": false,
  "create_snapshot": true,
  "snapshot_name": "final-backup"
}

Response

Sandbox deleted successfully

messagestring required
idstring required
storage_deletedboolean

Whether storage was deleted

storage_namestring

Name of deleted storage

snapshot_createdboolean

Whether snapshot was created

snapshot_namestring

Name of created snapshot

Example response

{
  "message": "Sandbox deleted successfully",
  "id": "sbx_abc123",
  "storage_deleted": true,
  "storage_name": "my-sandbox-1737158400-storage",
  "snapshot_created": true,
  "snapshot_name": "final-backup"
}