Replace the user-defined metadata of an asset
Replace the user-defined metadata of an asset
Authentication
Path parameters
The unique identifier of the asset whose user-defined metadata to replace.
Replace the user-defined metadata of an asset
The unique identifier of the asset whose user-defined metadata to replace.
This method replaces the entire user-defined metadata of the specified asset. Unlike the PATCH method, which merges your changes with the existing metadata, this method overwrites the stored value in full:
"") or null is ignored.To clear all metadata, send an empty object ({}) in the user_metadata field. This produces the same result as the DELETE method.
Your API key.
You can find your API key on the API Keys page.
Metadata that helps you categorize your assets. The object contains user-defined keys and values, where keys are strings and values are one of string, integer, float, or boolean.
Example:
To store other types of data, such as objects or arrays, convert your data into string values before sending it.