Skip to content

Revoke a share code

DELETE
/checkpoints/{checkpoint_id}/shares/{share_id}
curl --request DELETE \
--url https://api.global.stillbox.example/v1/checkpoints/cp-7k2m9q4x8w3z5r6t/shares/example \
--header 'Authorization: Bearer <token>'

The code stops working. Sandboxes already started from it keep their files.

checkpoint_id
required
string
share_id
required
string

The revoked share

Media typeapplication/json
object
id
required
string
checkpoint_id
required
string
code

The code to give the other organization. Only returned when the share is made.

string
hint
required

The code’s last characters, to tell codes apart.

string
created_at
required
string format: date-time
expires_at
required
string format: date-time
revoked_at
string format: date-time
uses
required

How many sandboxes were started from it.

integer

Example generated

{
"id": "example",
"checkpoint_id": "example",
"code": "example",
"hint": "example",
"created_at": "2026-04-15T12:00:00Z",
"expires_at": "2026-04-15T12:00:00Z",
"revoked_at": "2026-04-15T12:00:00Z",
"uses": 1
}

The API key is missing or invalid

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}

No such sandbox in your organization (or no such file)

Media typeapplication/json
object
code
required
string
message
required
string

Example

{
"code": "not_found"
}