Metadata
Update metadata
Update metadata on a resource with the Python SDK.
POST
Update metadata
Use
blnk.metadata.update to add or change metadata on an existing ledger, transaction, balance, or identity.
Call the method
blnk.metadata.update
| Field | Type | Description |
|---|---|---|
id | str | ID of the entity to update (ldg_…, txn_…, bln_…, or idt_…). |
data.meta_data | dict | Key-value pairs to add or update on the entity. |
Use the updated metadata
Read
response.data["meta_data"] for the full metadata object after the update. New keys are merged with existing metadata.Related docs
How metadata works
Attaching custom attributes to Blnk objects.
Update metadata
HTTP request and response schema.