MCP Gateway
ApiAdmin sandboxes

Bulk Stop Sandboxes

Bulk stop running sandboxes.

POST
/api/v1/admin/sandboxes/bulk-stop

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/admin/sandboxes/bulk-stop" \  -H "Content-Type: application/json" \  -d '{    "sandbox_ids": [      "string"    ]  }'
{
  "stopped": 0,
  "destroyed": 0,
  "skipped": 0,
  "errors": [
    "string"
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}