DELETE /api/v2/sessions/removeType
Deletes a session type by its ID.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
DELETE /api/v2/sessions/removeType
Query Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Yes |
The ID of the session type to delete |
Response Format
Success Response (HTTP 200)
JSON
{
"code": 200,
"response_id": "...",
"data": {
"id": 12,
"status": "deleted"
}
}
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
|
|
|
400 |
|
|
|
400 |
Session type not found |
|
|
403 |
Missing or invalid API key |
|
Example Request
Bash
curl -X DELETE "https://your-event-domain.com/api/v2/sessions/removeType?id=12" \
-H "Authorization: Bearer your_api_key_here"