Skip to main content
DELETE
/
api
/
v1
/
processes
/
{pid}
Kill a process
curl --request DELETE \
  --url https://{sandbox_id_or_name}.sandbox.tensorlake.ai/api/v1/processes/{pid} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "code": "<string>"
}
Kill a running process with SIGKILL.

Endpoint

DELETE /api/v1/processes/{pid}

Example Request

curl -X DELETE https://<sandbox-id>.sandbox.tensorlake.ai/api/v1/processes/42 \
  -H "Authorization: Bearer $TENSORLAKE_API_KEY"

Response

Tensorlake returns 204 No Content when the process is terminated. If you want a graceful shutdown first, use Send Signal with 15 before falling back to SIGKILL.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pid
integer<int32>
required

The operating system PID of the process.

Response

Process terminated