Skip to main content
DELETE
/
v1
/
agents
/
{agentId}
/
sessions
/
{id}
Delete Session
curl --request DELETE \
  --url https://app.opencomputer.dev/v1/agents/{agentId}/sessions/{id} \
  --header 'X-API-Key: <api-key>'
{}
Delete a session. Kills the backing sandbox if still running.
agentId
string
required
Agent ID
id
string
required
Session ID
{}