sandboxes
Delete a snapshot
Changed onPermanently 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}
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v2/sandboxes/snapshots/{snapshotId}
- Auth: HTTP bearer
Path parameters
snapshotIdstring required
The unique identifier of the snapshot to delete.
Example:snap_1234567890123456789012345678
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": {
"createdAt": 1750344501629,
"creationMethod": "manual",
"expiresAt": 1750344501629,
"id": "snap_123a6c5209bc3778245d011443644c8d27dc2c50",
"lastUsedAt": 1750344501629,
"parentId": "snap_parent123",
"region": "iad1",
"regions": [
"iad1",
"sfo1"
],
"sizeBytes": 104857600,
"sourceSessionId": "sbx_123a6c5209bc3778245d011443644c8d27dc2c50",
"status": "created",
"updatedAt": 1750344501629
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info