Docs
Delete Account
DELETE /events/{eventId}/accounts/{accountId}
DELETE
/events/{eventId}/accounts/{accountId}Required Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Permanently removes an account from the event. An account cannot be deleted if it is referenced by any existing transactions (as either the debit or credit account). Delete or reassign those transactions first.
Requires EventAccountingAdmin permission on the event.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | Guid | Required | The ID of the event. |
| accountId | Guid | Required | The ID of the account to delete. |
Response
200 OK — No response body.
Error Codes
| Code | HTTP Status | Description |
|---|---|---|
UNAUTHORIZED | 401 | Missing or invalid token, or caller lacks EventAccountingAdmin. |
NOT_FOUND | 404 | Account not found on this event. |
BAD_REQUEST | 400 | Account has existing transactions and cannot be deleted. |