cURL
curl --request DELETE \ --url http://localhost/api/ledger/v2/{ledger}/metadata/{key} \ --header 'Authorization: Bearer <token>'
{ "errorCode": "VALIDATION", "errorMessage": "[VALIDATION] invalid 'cursor' query param", "details": "https://play.numscript.org/?payload=eyJlcnJvciI6ImFjY291bnQgaGFkIGluc3VmZmljaWVudCBmdW5kcyJ9" }
The access token received from the authorization server in the OAuth 2.0 flow.
Name of the ledger.
"ledger001"
Key to remove.
"foo"
OK