Learn how to modify or add new metadata to ledgers, transactions, identities, and balances.
curl --request POST \
--url http://localhost:5001/{id}/metadata \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"meta_data": {
"project_owner": "Acme LLC",
"update_status": "Approved"
}
}'
{
"meta_data": {
"project_owner": "Acme LLC",
"description": "Approved"
}
}
X-blnk-key: <api-key>.
Replace <api-key> with your secret API key. Ensure the key is kept secure and not exposed in public repositories or client-side code.
See also: Secure your Blnk server
curl --request POST \
--url http://localhost:5001/{id}/metadata \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"meta_data": {
"project_owner": "Acme LLC",
"update_status": "Approved"
}
}'
{
"meta_data": {
"project_owner": "Acme LLC",
"description": "Approved"
}
}
Was this page helpful?
curl --request POST \
--url http://localhost:5001/{id}/metadata \
--header 'X-blnk-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"meta_data": {
"project_owner": "Acme LLC",
"update_status": "Approved"
}
}'
{
"meta_data": {
"project_owner": "Acme LLC",
"description": "Approved"
}
}