---
title: "Update ledger metadata"
method: PUT
path: "/v2/{ledger}/metadata"
tags: ["ledger.v2"]
---

# Update ledger metadata

`PUT /v2/{ledger}/metadata`

## Request body

- V2UpdateLedgerMetadataRequest — Arbitrary key/value pairs attached to the resource. Metadata is bi-temporal, so a point-in-time query returns the metadata as it stood at that time

## Response `204`

OK

## Other responses

- `default` — Error
- `5XX` — Error

---

[API](https://skmtc.dev/formancehq/apis/ledger-api.md) · [All operations](https://skmtc.dev/formancehq/apis/ledger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/formancehq/ledger-api/revisions/fe945da1b75d/schema)
