---
title: "Delete a Ledger Template"
method: DELETE
path: "/agent-ledger-template/{booksId}/{ledgerId}"
tags: ["Books"]
---

# Delete a Ledger Template

`DELETE /agent-ledger-template/{booksId}/{ledgerId}`

## Request

- Base URL: `https://api.mercury.com/api/v1`
- URL: `https://api.mercury.com/api/v1/agent-ledger-template/{booksId}/{ledgerId}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic

## Path parameters

- `booksId` string, uuid, required
- `ledgerId` string, base58 (max length 22), required: The unique identifier for a Ledger

## Response `200`

## Other responses

- `404`: `booksId` or `ledgerId` not found

## Changes

- **2026-10-16** `ab652aa5aa8e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mercurytechnologies/apis/mercury-api/changes/agent-ledger-template/:booksId/:ledgerId/delete.md)

---

[API](https://skmtc.dev/mercurytechnologies/apis/mercury-api.md) - [All operations](https://skmtc.dev/mercurytechnologies/apis/mercury-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mercurytechnologies/apis/mercury-api/revisions/ab652aa5aa8e?raw)
