assets
Update the user-defined metadata of an asset
Changed onThis 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 ("") or an empty array ([]) 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.
patch/assets/{asset_id}/user-metadata
Request
- Base URL: https://api.twelvelabs.io/v1.3
- URL: https://api.twelvelabs.io/v1.3/assets/{asset_id}/user-metadata
- Auth: API key in header x-api-key
Path parameters
asset_idstring required
The unique identifier of the asset whose user-defined metadata to update.
Request body
Response
Successful response
Changes
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
x-api-keywas added to the API
- warning
- info
api operation id
update-user-metadataremoved and replaced withassets_update_user_metadata
- info