Skip to main content
POST
/
v1
/
processes
/
{id}
/
kill
Send SIGKILL to a process.
curl --request POST \
  --url http://localhost:2468/v1/processes/{id}/kill
{
  "args": [
    "<string>"
  ],
  "command": "<string>",
  "createdAtMs": 123,
  "id": "<string>",
  "interactive": true,
  "owner": "user",
  "status": "running",
  "tty": true,
  "cwd": "<string>",
  "exitCode": 123,
  "exitedAtMs": 123,
  "pid": 1
}

Path Parameters

id
string
required

Process ID

Query Parameters

waitMs
integer<int64> | null

Wait up to N ms for process to exit

Required range: x >= 0

Response

Kill signal sent

args
string[]
required
command
string
required
createdAtMs
integer<int64>
required
id
string
required
interactive
boolean
required
owner
enum<string>
required
Available options:
user,
desktop,
system
status
enum<string>
required
Available options:
running,
exited
tty
boolean
required
cwd
string | null
exitCode
integer<int32> | null
exitedAtMs
integer<int64> | null
pid
integer<int32> | null
Required range: x >= 0