POST
/
api
/
ledger
/
v2
/
{ledger}
/
transactions
/
{id}
/
metadata
curl --request POST \
  --url http://localhost:55001/api/ledger/v2/{ledger}/transactions/{id}/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "admin": "true"
}'
This response has no body data.

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
required

Transaction ID.

Required range: x >= 0
Example:

1234

Query Parameters

dryRun
boolean

Set the dryRun mode. Dry run mode doesn't add the logs to the database or publish a message to the message broker.

Example:

true

Body

application/json · object

metadata

The body is of type object.