DELETE sessions/removeSession

DELETE /api/v2/sessions/removeSession

Deletes a session by its ID, including all related schedule entries.


Authentication

Authorization: Bearer <your_api_key>

Endpoint

DELETE /api/v2/sessions/removeSession

Query Parameters

Parameter

Type

Required

Description

id

integer

Yes

The ID of the session to delete


Response Format

Success Response (HTTP 200)

JSON
{
  "code": 200,
  "response_id": "...",
  "data": {
    "id": 42,
    "status": "deleted"
  }
}

Error Responses

HTTP Code

Condition

Error Message

400

id is missing

Missing required parameter: id

400

id is not a valid integer

Param must be a integer: id

400

Session not found

Invalid Session ID

403

Missing or invalid API key

Forbidden


Example Request

Bash
curl -X DELETE "https://your-event-domain.com/api/v2/sessions/removeSession?id=42" \
  -H "Authorization: Bearer your_api_key_here"