DELETE /api/v2/account/delete
Removes a single participant account — either permanently from the system, or only from a specific event while keeping the account intact.
Authentication
Authorization: Bearer <your_api_key>
Endpoint
DELETE /api/v2/account/delete
Hard Delete vs Event Detachment
|
Mode |
How to trigger |
What happens |
|---|---|---|
|
Hard delete |
Omit |
The account is permanently removed from the system |
|
Event detachment |
Pass |
The account is unregistered from the event only. The account continues to exist globally |
Query Parameters
At least one of id, email, or external_id must be provided.
|
Parameter |
Type |
Required |
Accepted Values / Format |
Description |
|---|---|---|---|---|
|
|
integer |
Conditional |
Valid account ID |
Internal account ID. Tried first when provided |
|
|
string |
Conditional |
Valid email address |
Account email. Used as fallback when |
|
|
string |
Conditional |
Any string |
Account External ID. Used as fallback when |
|
|
boolean |
No |
|
When |
|
|
integer |
Required when |
Valid event ID |
The event to detach the account from |
Response
Hard delete (HTTP 200)
{
"code": 200,
"data": {
"id": 12345,
"status": "deleted"
},
"response_id": "1700000000.12345"
}
Event detachment (HTTP 200)
{
"code": 200,
"data": {
"id": 12345,
"status": "Account removed from event with ID 7 succesfully"
},
"response_id": "1700000000.12345"
}
Error Responses
|
HTTP Code |
Condition |
Error Message |
|---|---|---|
|
400 |
No identifier provided |
|
|
400 |
|
|
|
400 |
|
|
|
400 |
|
|
|
400 |
|
|
|
400 |
Event not found |
|
|
400 |
Account is not registered for the event |
|
|
403 |
Missing or invalid API key |
|
Example Request — hard delete by ID
curl -X DELETE "https://your-event-domain.com/api/v2/account/delete?id=12345" \
-H "Authorization: Bearer your_api_key_here"
Example Request — event detachment by email
curl -X DELETE "https://your-event-domain.com/api/v2/account/delete?email=john.doe@example.com&from_event=true&event_id=7" \
-H "Authorization: Bearer your_api_key_here"