Sandboxes

Kill a running command (`@vercel/sandbox`-compatible). The SDK calls `POST /v1/sandboxes/{id}/{cmdId}/kill` — note the path has the command ID directly under the sandbox, NOT under `/jobs/` or `/cmd/`.

post/v1/sandboxes/{id}/{cmd_id}/kill

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/sandboxes/{id}/{cmd_id}/kill
  • Auth: HTTP bearer

Path parameters

idstring required
cmd_idstring required

Request body

forceboolean

Optional: when true, SIGKILL instead of SIGTERM.

Response

Command killed; returns final snapshot

Changes

No recorded changes to this operation across all 50 revisions of this API.