mediaAttributeDefinitionUpdate
Media operations currently support images only.
Rename, describe, archive or restore an image attribute definition. Only the arguments given change.
Business Rules: the name and the handle stay unique among the company's image
attribute definitions, archived ones included, so an archived definition is
restored rather than recreated. delete: true archives the definition and
hides its values from the library; restore: true brings them back. The two
cannot be combined. attributeType cannot be changed.
Error Scenarios: an unknown definition or one from another company, no field
at all, delete together with restore, a restore of a definition that is
not archived, a blank or duplicate name, or a malformed or duplicate handle is rejected.
Permissions Required: media:update_image_attribute_definition.
mediaAttributeDefinitionUpdate(
input: MediaAttributeDefinitionUpdateInput!
): MediaAttributeDefinition!
Arguments
mediaAttributeDefinitionUpdate.input ● MediaAttributeDefinitionUpdateInput! non-null input common
Parameters for MediaAttributeDefinitionUpdate
Type
MediaAttributeDefinition object products
A company-defined custom field that can be set on images (e.g. "Shot type", "Usage rights").