Skip to main content
DELETE
/
sessions
/
{session_id}
Terminate a session
curl --request DELETE \
  --url https://api.devin.ai/sessions/{session_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Session terminated successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

The session ID to terminate

Response

Session terminated successfully

detail
string
Example:

"Session terminated successfully"