---
title: "Delete an account"
method: DELETE
path: "/v1-beta/accounts/{accountId}"
tags: ["Accounts"]
---

# Delete an account

`DELETE /v1-beta/accounts/{accountId}`

Deletes an existing account in Pleo.

Only accounts not linked to any accounting entries can be deleted. Trying to delete an account linked to accounting entries will result in an error. If an account is linked, it can be archived instead. Use UPDATE endpoint to archive an account.

## Path parameters

- `accountId` string, uuid, required

## Response `204`

Deletion of account successful.

## Other responses

- `404` — Account not found.
- `409` — Account linked to accounting entries and cannot be deleted. Use UPDATE endpoint to archive the account.

---

[API](https://skmtc.net/pleo/apis/bookkeeping-core-api.md) · [All operations](https://skmtc.net/pleo/apis/bookkeeping-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pleo/bookkeeping-core-api/versions/62d2c10ab167/schema)
