Skip to main content
DELETE
/
api
/
ledger
/
v2
/
{ledger}
/
transactions
/
{id}
/
metadata
/
{key}
Delete metadata by key
curl --request DELETE \
  --url http://localhost/api/ledger/v2/{ledger}/transactions/{id}/metadata/{key} \
  --header 'Authorization: Bearer <token>'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://docs.formance.com/llms.txt

Use this file to discover all available pages before exploring further.

Remove a specific metadata key from a transaction.

Parameters

ledger: The name of the ledger containing the transaction. (e.g., ledger001) id: The transaction ID to delete metadata from. (e.g., 1234) key: The metadata key to delete. (e.g., order_id) Idempotency-Key: Unique key to ensure the request is processed exactly once. (e.g., del-meta-abc123)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string

Use an idempotency key

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

id
integer<bigint>
required

Transaction ID.

Required range: x >= 0
Example:

1234

key
string
required

The key to remove.

Example:

"foo"

Response