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