Skip to main content
DELETE
Kill Command
Kills a background process tracked in the sandbox process list and removes it from the list. Returns { "killed": true } if the process was found and removed, or { "killed": false } if it was not in the tracked list.
This endpoint removes the process from the API’s tracking list. The underlying VM process termination is handled by the envd daemon.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.
integer
required
Process ID of the background command to kill.Example: 42

Response

boolean
true if the process was found and removed. false if no process with that PID was tracked.

Example

Response

Error Responses