Skip to main content
DELETE
/
api
/
v1
/
sandbox
Bulk Delete Sandboxes Endpoint
curl --request DELETE \
  --url https://api.primeintellect.ai/api/v1/sandbox \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sandbox_ids": [
    "<string>"
  ]
}'
{
  "succeeded": [
    "<string>"
  ],
  "failed": [
    {}
  ],
  "message": "<string>"
}

Rate Limit

50 requests per 60 seconds per IP and token.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
sandbox_ids
string[]
required

List of sandbox IDs to delete

Required array length: 1 - 100 elements

Response

Successful Response

message
string
required
succeeded
string[]

List of successfully deleted sandbox IDs

failed
Failed · object[]

List of failed deletions with error messages

I