Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
DELETE /v1/sessions/{session_id}
Permanently deletes a session and all its associated event data. This operation is irreversible.
Path parameters
| Parameter | Type | Description |
|---|
session_id | string | Session ID with the sess_ prefix |
| Header | Required | Description |
|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
curl -X DELETE https://openapi.qoder.sh/api/v1/cloud/sessions/sess_019e3bb1e8c171fd9abbb1477ffb84cc \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK
Returns a deletion confirmation object.
{
"id": "sess_019e3bb1e8c171fd9abbb1477ffb84cc",
"type": "session",
"deleted": true
}
Response fields
| Field | Type | Description |
|---|
id | string | ID of the deleted Session |
type | string | Always "session" |
deleted | boolean | Always true, indicating successful deletion |
Errors
| HTTP | Type | Trigger |
|---|
| 401 | authentication_error | PAT invalid or expired |
| 404 | not_found_error | Session does not exist |
See Errors for the full error envelope.