Replace metadata

Replaces an asset’s metadata

You can use this call to replace all of an asset’s existing metadata with new key/value pairs you submit. You must specify an asset id as a path parameter and new key/value pairs as body parameters.


Keep in mind that all existing metadata is deleted so the replacement metadata can be added. To update the value in a specific key/value pair without touching the rest of your metadata, consider using Update metadata value by key instead.

A 204 code is returned when metadata is successfully replaced.

Click Try It! to start a request and see the response here!