Skip to navigation

Replace the user-defined metadata of an asset

You can now replace the entire user-defined metadata of an asset in a single call with the new PUT method of the /assets/{asset_id}/user-metadata endpoint. The method overwrites the stored value in its entirety and removes any keys you omit from the request body. Unlike the existing PATCH method, this method does not merge your changes into the existing metadata. The method is available in the Python SDK and Node.js SDK. To access this feature, upgrade your SDK to the latest version:

pip install --upgrade twelvelabs