How to bulk detach all participants from an event

How to bulk detach all participants from an event

Use this guide when you need to unregister all participants from an event at once while keeping their accounts in the system — for example, when resetting an event or migrating participant data.


Prerequisites

  • Your API key

  • The event_id of the event


Request

Bash
curl -X DELETE "https://your-event-domain.com/api/v2/account/deleteBulk?event_id=7&from_event=true" \
  -H "Authorization: Bearer your_api_key_here"

Response

JSON
{
  "code": 200,
  "data": {
    "id": "101,102,103,104",
    "status": "Accounts removed from event"
  },
  "response_id": "1700000000.12345"
}

The id field contains a comma-separated list of all account IDs that were detached.


Notes

  • Participant accounts are not deleted — they remain in the system and can be re-registered

  • If you want to permanently delete all accounts, see the "How to bulk delete all participants permanently" guide

  • If the event has no participants, a 400 error is returned