Sandboxes

Terminate a detached job. Aborts the server-side tracking task and sends SIGTERM (or SIGKILL if `force=true`) to any matching processes inside the sandbox container. Returns 204 on success; 404 if the sandbox or job is unknown.

post/v1/sandboxes/{id}/jobs/{job_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}/jobs/{job_id}/kill
  • Auth: HTTP bearer

Path parameters

idstring required
job_idstring required

Request body

forceboolean

When true, sends SIGKILL immediately. Defaults to SIGTERM so the process gets a chance to flush (mirrors Command.kill() in @vercel/sandbox, which also accepts a signal override).

Response

Job killed

Changes

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