POST
/
{id}
/
metadata
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"
  }
}

Authorization

If set, the API uses an API key for authentication. Include the following header in your requests: 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

Body

meta_data
object

Metadata information to be added or updated.

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"
  }
}

Need help?

We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.

To ask questions or discuss issues, please contact us or join our Discord community.