Skip to content

Remove a category

Request

Completely remove an event category from the system. A category can only be deleted if it is not associated with any events.

Security
SessionKey(Required scopes: administrator)
Path
categoryintegerrequired

Unique identifier of the requested event category

curl -i -X DELETE \
  'https://docs.ticketingevents.com/_mock/openapi/categories/{category}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The event category was successfully removed from the system.

Bodyapplication/json
messagestring

Reason for the given response.

Response
{ "message": "Category: /categories/16972381860264, has been deleted." }