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 |
Exhibitor is permanently deleted from the system across all events |
|
Event removal |
Pass |
Exhibitor is detached from that event only. The exhibitor record remains |
Query Parameters
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
integer |
Yes |
The internal ID of the exhibitor |
|
|
boolean |
No |
|
|
|
integer |
Required when |
The event to detach the exhibitor from |
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
|
|
|
400 |
Exhibitor not found |
|
|
400 |
|
|
|
400 |
Exhibitor not linked to this event |
|
|
403 |
Missing or invalid API key |
|
Example Requests
# 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"