Skip to content

Remove an event

Request

Completely remove a registered event from the system. Only events that have not sold any tickets can be deleted. If tickets have been sold, but further sales should be prevented, an event can be unpublished or cancelled as necessary.

Security
SessionKey(Required scopes: customeradministrator)
Path
hostintegerrequired

Unique identifier of the requested host

eventintegerrequired

Unique identifier of the requested event

curl -i -X DELETE \
  'https://docs.ticketingevents.com/_mock/openapi/hosts/{host}/events/{event}' \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

The event was successfully removed from the system.

Bodyapplication/json
messagestring

Reason for the given response.

Response
{ "message": "event: /events/17728094995512, has been deleted." }