cURL
curl --request POST \ --url http://localhost:55001/api/ledger/v2/{ledger} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "bucket": "<string>", "metadata": { "admin": "true" }, "features": {} }'
This response does not have an example.
The access token received from the authorization server in the OAuth 2.0 flow.
Name of the ledger.
"ledger001"
OK