Skip to main content
POST
/
api
/
v1
/
sandboxes
/
{id}
/
actions
Run sandbox action
curl --request POST \
  --url https://neo.api.projectdiscovery.io/api/v1/sandboxes/{id}/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "error": "Bad request",
  "code": "user_spending_cap_reached",
  "error_id": "<string>",
  "kind": "forbidden request",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string<uuid>
required

Sandbox id from the list response.

Body

application/json
action
enum<string>
required

Cloud sandboxes: pause, resume, or start. Self-hosted sandboxes: connect or disconnect.

Available options:
pause,
resume,
start,
connect,
disconnect

Response

Action accepted