Update the user-defined metadata of an asset
This method updates the user-defined metadata of the specified asset. The platform merges your changes with the existing metadata:
- A key with a value creates or replaces that key.
- A key set to null deletes that key.
- A key set to an empty string ("") is ignored.
- A key you omit from the request keeps its current value.
To replace all metadata in a single call, use the PUT method of the /assets/{asset_id}/user-metadata endpoint instead.
Path parameters
The unique identifier of the asset whose user-defined metadata to update.
Headers
Your API key.
<Note title="Note"> You can find your API key on the <a href="https://playground.twelvelabs.io/dashboard/api-keys" target="_blank">API Keys</a> page. </Note>Request body
Response
Successful response
Changes
Changed in 2 of the 8 revisions of this API.111
- ●
removed the optional property
docs_urlfrom the response with the400statusresponse-optional-property-removed
- ●
- ▲
removed the success response with the status
204response-success-status-removed
- ○
added the success response with the status
200response-success-status-added
This revision also has 35 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲