Metadata
Set Asset Metadata Value
Set a metadata value for an asset.
The attribute must belong to the asset’s project (otherwise 404) and be editable (is_editable, otherwise 400).
PUT
Set Asset Metadata Value
Authorizations
Body
application/json
API request schema for setting a metadata value.
The value to set. Its shape depends on the attribute's data_type:
string: A string.integer,float: A number.boolean:trueorfalse.datetime: An ISO 8601 string.single_select: An option ID.multi_select: A list of option IDs.user_id: A list of user IDs.
Send null to clear the value. Attributes with is_editable false can't be set.
Response
Successful Response
API response schema for a single metadata value.
The value. Its shape depends on data_type:
string: A string.integer,float: A number.boolean:trueorfalse.datetime: An ISO 8601 string.single_select: An option ID.multi_select: A list of option IDs.user_id: A list of users, each withid,first_name,last_name,email, andavatar_url.person_id: A list of people, each withperson_id,label, andsource.object_id: A list of objects, each withobject_id,label, andsource.directory_id: The directories containing the asset, outermost first, each withidandname. Empty when the asset is directly in the project's top-level directory.
null when there's no value.
Set Asset Metadata Value