Update metadata template
Updates a metadata template.
The metadata template can only be updated if the template already exists.
The update is applied atomically. If any errors occur during the application of the operations, the metadata template will not be changed.
Authorizations
Path Parameters
Body
The type of change to perform on the template. Some of these are hazardous as they will change existing templates.
editTemplate, addField, reorderFields, addEnumOption, reorderEnumOptions, reorderMultiSelectOptions, addMultiSelectOption, editField, removeField, editEnumOption, removeEnumOption, editMultiSelectOption, removeMultiSelectOption "addEnumOption"
Response
Returns the updated metadata template, with the custom template data included.
A template for metadata that can be applied to files and folders.
The scope of the metadata template can either be global or enterprise_*. The global scope is used for templates that are available to any Box enterprise. The enterprise_* scope represents templates that have been created within a specific enterprise, where * will be the ID of that enterprise.
"enterprise_123456"
A unique identifier for the template. This identifier is unique across the scope of the enterprise to which the metadata template is being applied, yet is not necessarily unique across different enterprises.
64^[a-zA-Z_][-a-zA-Z0-9_]*$"productInfo"
Defines if this template is visible in the Box web app UI, or if it is purely intended for usage through the API.
true
