---
title: "Delete accounting accounts in bulk"
method: DELETE
path: "/accountingaccounts/{companyId}"
tags: ["AccountingAccounts"]
---

# Delete accounting accounts in bulk

`DELETE /accountingaccounts/{companyId}`

Deletes several accounting accounts in a single call, identified by `accountingCode`. Accounts are deactivated (`active` set to `false`) rather than permanently removed, and continue to appear in `GET`/list responses. The response includes an entry for every requested `accountingCode`, even ones that do not match an existing account — those are silently skipped with no error.

## Path parameters

- `companyId` string, required

## Request body

- BulkDeleteAccountingsAccountsRequestSchema
  - `data` DeleteAccountingsAccountsRequestSchema[], required — Accounting accounts to delete, identified by `accountingCode`.
    - `accountingCode` string, required — Accounting code of the account to delete.

## Response `200`

Successful Response

- BulkModifyAccountingsAccountsResponseSchema
  - `data` ModifyAccountingsAccountsResponseSchema[], required — Result of the bulk deletion, one entry per requested `accountingCode`.
    - `id` string, required — Embat resource ID

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Not found. The requested resource or `companyId` does not exist.
- `422` — Validation Error
- `500` — Unexpected error. Contact support if it persists.

---

[API](https://skmtc.net/embat/apis/embat-api.md) · [All operations](https://skmtc.net/embat/apis/embat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/embat/embat-api/versions/36ca48bf4489/schema)
