---
title: "Delete a Ledger"
method: DELETE
path: "/v1/organizations/{organization_id}/ledgers/{ledger_id}"
tags: ["Ledgers API"]
---

# Delete a Ledger

`DELETE /v1/organizations/{organization_id}/ledgers/{ledger_id}`

Use this endpoint to delete a Ledger. The Ledger will remain in our records and appear in the [List Ledgers](/en/reference/midaz/list-ledgers) and [Retrieve a Ledger](/en/reference/midaz/retrieve-a-ledger) endpoint responses, with the `deletedAt` field showing the deletion date.

## Path parameters

- `organization_id` string, uuid, required
- `ledger_id` string, uuid, required

## Headers

- `Content-Type` string
- `X-Request-Id` string, uuid
- `Authorization` string

## Response `204`

Indicates that the resource was successfully deleted.

## Other responses

- `400`
- `401` — Unauthorized
- `403` — Forbidden
- `404`
- `409`
- `500` — Internal Server Error

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/revisions/25daba385532/schema)
