Bulk delete chart of accounts entries. Accounts with posted activity, a bank feed connection, or equity accounts cannot be deleted and are skipped; deactivate them instead. The query filters are the same as for searching accounts and select the candidate set; the body picks the accounts within it. Provide ids, or explicitly set include to false to delete every account matching the filters (and every account outright when no filters are given); an empty body is rejected. While multi-org is on, each account needs Accounting Settings at every campus of its organization: explicit ids that include an account you cannot delete answer 403 and nothing is deleted, and a select-all skips those accounts. While multi-org is off a campus-limited caller cannot delete one, because it counts as available to every campus (explicit ids that include one answer 403 every_campus_record_delete_desc, and a select-all skips it). The response reports how many were deleted and how many a select-all skipped; an account kept for its activity counts as neither.
Required permission: Accounting Settings
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
