API referenceReferenceAccounts
Account - Delete
Delete one account by ID. Precondition: the account must not be referenced by protected bookkeeping documents or entries. If dependencies exist, API returns `412 precondition_failed`.
Path Parameters
account_id*integer
Identifier of the target account. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.
business_slug*string
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
Response Body
curl -X DELETE "https://example.com/v1/business/string/account/0/"Empty