PUT
/
api
/
ledger
/
v2
/
{ledger}
/
metadata
curl --request PUT \
  --url http://localhost:55001/api/ledger/v2/{ledger}/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "admin": "true"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

Body

application/json · object

Response

204

OK

PUT
/
api
/
ledger
/
v2
/
{ledger}
/
metadata
curl --request PUT \
  --url http://localhost:55001/api/ledger/v2/{ledger}/metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "admin": "true"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

Body

application/json · object

Response

204

OK