Request
Session ID containing the process
Specific process ID to kill. If omitted, kills all processes.
Bearer token with your API key
Response
Number of processes killed
Array of killed process IDs
Example
curl -X POST https://api.buntime.sh/execution/kill \
-H "Authorization: Bearer $BUNTIME_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sessionId": "ses_abc123", "pid": 1234}'
{
"killed": 1,
"pids": [1234]
}