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 |
|---|---|---|---|
|
|
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 |
|
|
|
400 |
|
|
|
400 |
Session not found |
|
|
403 |
Missing or invalid API key |
|
Example Request
Bash
curl -X DELETE "https://your-event-domain.com/api/v2/sessions/removeSession?id=42" \
-H "Authorization: Bearer your_api_key_here"