DELETE exhibitor/delete

DELETE /api/v2/exhibitor/delete

Deletes an exhibitor globally or removes it from a specific event only.


Authentication

Authorization: Bearer <your_api_key>

Endpoint

DELETE /api/v2/exhibitor/delete

Global Delete vs Event Removal

Mode

How to trigger

What happens

Global delete

Omit from_event or pass from_event=false

Exhibitor is permanently deleted from the system across all events

Event removal

Pass from_event=true with event_id

Exhibitor is detached from that event only. The exhibitor record remains


Query Parameters

Parameter

Type

Required

Description

id

integer

Yes

The internal ID of the exhibitor

from_event

boolean

No

true to detach from event only; omit for global delete

event_id

integer

Required when from_event=true

The event to detach the exhibitor from


Error Responses

HTTP Code

Condition

Error Message

400

id missing or invalid

Param is required: id

400

Exhibitor not found

Invalid Exhibitor ID

400

from_event=true but event_id missing

Param is required: event_id

400

Exhibitor not linked to this event

Exhibitor does not belong to this event

403

Missing or invalid API key

Forbidden


Example Requests

Bash
# Global delete
curl -X DELETE "https://your-event-domain.com/api/v2/exhibitor/delete?id=1096" \
  -H "Authorization: Bearer your_api_key_here"

# Event removal
curl -X DELETE "https://your-event-domain.com/api/v2/exhibitor/delete?id=1096&from_event=true&event_id=7" \
  -H "Authorization: Bearer your_api_key_here"