v14
latestOpenAPI 3.0.32026-08-04377889.4 MBsandboxes
Delete a snapshot
Permanently deletes a snapshot and frees its associated storage. This action cannot be undone. After deletion, the snapshot can no longer be used to create new sessions.
delete/v2/sandboxes/snapshots/{snapshotId}
Path parameters
snapshotIdstring required
The unique identifier of the snapshot to delete.
Example:snap_abc123
The unique identifier of the snapshot to delete.
Query parameters
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Response
Example response
{
"snapshot": {
"id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50",
"sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50",
"region": "iad1",
"status": "created",
"sizeBytes": 104857600,
"expiresAt": 1750344501629,
"createdAt": 1750344501629,
"updatedAt": 1750344501629,
"lastUsedAt": 1750344501629,
"creationMethod": "manual",
"parentId": "snap_parent123"
}
}