Skip to main content
DELETE
https://api.buntime.sh
/
sessions
/
{sessionId}
curl -X DELETE https://api.buntime.sh/sessions/ses_abc123 \
  -H "Authorization: Bearer $BUNTIME_API_KEY"
{
  "deleted": true,
  "sessionId": "ses_abc123def456"
}

Request

sessionId
string
required
The session ID to delete
Authorization
string
required
Bearer token with your API key

Response

deleted
boolean
Always true on success
sessionId
string
ID of the deleted session
Deletion is permanent. All files, processes, and data are immediately destroyed and cannot be recovered.

Example

curl -X DELETE https://api.buntime.sh/sessions/ses_abc123 \
  -H "Authorization: Bearer $BUNTIME_API_KEY"
{
  "deleted": true,
  "sessionId": "ses_abc123def456"
}