cURL
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 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Browser session ID
Signal to send to the process.
Signal to send.
TERM
KILL
INT
HUP
OK
Generic OK response.
Indicates success.