DELETE sessions/removeType

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

id

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

id is missing

Missing required parameter: id

400

id is not a valid integer

Param must be a integer: id

400

Session type not found

Invalid Type ID

403

Missing or invalid API key

Forbidden


Example Request

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