Docs

Delete Account

DELETE /events/{eventId}/accounts/{accountId}

DELETE/events/{eventId}/accounts/{accountId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **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

FieldTypeRequiredDescription
eventIdGuidRequiredThe ID of the event.
accountIdGuidRequiredThe ID of the account to delete.

Response

200 OK — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or caller lacks EventAccountingAdmin.
NOT_FOUND404Account not found on this event.
BAD_REQUEST400Account has existing transactions and cannot be deleted.