Skip to main content
POST
/
browsers
/
{id}
/
process
/
{process_id}
/
kill
Send signal to process
curl --request POST \
  --url https://api.onkernel.com/browsers/{id}/process/{process_id}/kill \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signal": "TERM"
}
'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Browser session ID

process_id
string<uuid>
required

Body

application/json

Signal to send to the process.

signal
enum<string>
default:TERM
required

Signal to send.

Available options:
TERM,
KILL,
INT,
HUP

Response

OK

Generic OK response.

ok
boolean
default:true
required

Indicates success.