Metadata
Set Resource Metadata Value
Set a metadata value on a directory, canvas, collection, or asset.
The attribute must belong to the resource’s team (otherwise 404), and apply to and be editable on the resource’s type (resource_types, otherwise 400).
PUT
Set Resource Metadata Value
Authorizations
Path Parameters
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. Only attributes editable on the resource's type in their resource_types can 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, andauthor_kind.object_id: A list of objects, each withobject_id,label, andauthor_kind.directory_id: The directories containing the resource, outermost first, each withidandname. Empty when the resource is directly in the team's top-level directory.
null when there's no value.
Set Resource Metadata Value