Pools

Delete a sandbox pool

DELETE
/sandboxpools/{name}

Authorization

ApiKeyAuth
AGENTBOX-API-KEY<token>

In: header

Path Parameters

name*string

SandboxPool name.

  • Single-cluster: a DNS-1123 label such as my-pool.
  • Cross-cluster: a {clusterID}::{poolName} composite such as cluster1::my-pool (double-colon separator). Discover valid cluster IDs via GET /clusters. Parsing reference: pkg/utils/cluster/parse.go::ParsePoolRef.

Note: the E2B-compatible API further extends this to {clusterID}::{poolName}//{imageOverride} for template strings; that form is only accepted on the E2B port, not on this native API.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://sandboxpools/my-pool"
{  "name": "string",  "namespace": "string",  "status": "string"}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}