Skip to main content
POST
/
v1
/
sandboxes
/
{id}
/
processes
/
{pid}
/
kill
Kill a process by PID
import requests

url = "https://api.13-215-85-171.sslip.io/v1/sandboxes/{id}/processes/{pid}/kill"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Sandbox ID (e.g. sb_a1b2c3d4)

pid
integer<uint32>
required

Process ID

Response

204

Process killed