Destroy a sandbox
Deletes every resource backing the sandbox (deployment, service, route, network policy and pull secret).
This operation is idempotent: destroying an already-destroyed sandbox succeeds. Sandboxes created with ttl_seconds are destroyed automatically when it elapses.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
x-workspace-id
UUID of the workspace that scopes this request. List the workspaces you belong to with GET /workspaces.
Request
This endpoint expects an object.
task_id
The name used when the sandbox was provisioned.
Response
Successful Response
success
True when every resource was removed.
error
Failure reason when success is false.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error