---
title: "Delete accounting account"
method: DELETE
path: "/accountingaccounts/{companyId}/{accountingCode}"
tags: ["AccountingAccounts"]
---

# Delete accounting account

`DELETE /accountingaccounts/{companyId}/{accountingCode}`

Deletes an accounting account by `accountingCode`. The account is deactivated (`active` set to `false`) rather than permanently removed, and continues to appear in `GET`/list responses. Deleting an `accountingCode` that does not match any existing account still returns `200` without error.

## Path parameters

- `accountingCode` string, required
- `companyId` string, required

## Response `200`

Successful Response

- ModifyAccountingsAccountsResponseSchema
  - `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)
