DELETE
Delete an account (organization)
Organization space Accounting module Cannot be undone For: Accountant · Permission: accounting_accounts.delete Conditions
  • The accounting module must be included in the plan of the organization.
  • In the organization space the caller needs an accounting access grant on the book named in the URL.
  • The record must belong to the selected book.
  • An account that comes from the standard template (from the standard template) cannot be deleted.
  • An account with journal lines cannot be deleted.
  • An account that has sub-accounts cannot be deleted.
What else happens
  • The account is removed for good: it cannot be restored and its code can be used again. The parent account is not turned back into an account that can receive entries.
Part of Set up the books.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account
string
required

Identifier of the account (27-character KSUID). The generated path repeats this name: the first segment is the book identifier, the second is the account. The account must belong to the book.

Query Parameters

response
enum<string>
default:none

Response mode. Default none; none answers 204 No Content.

Available options:
none

Response

No Content (response mode none).