Creates a new metadata template that can be applied to files and folders.
The access token received from the authorization server in the OAuth 2.0 flow.
The scope of the metadata template to create. Applications can only create templates for use within the authenticated user's enterprise.
This value needs to be set to enterprise, as global scopes can
not be created by applications.
"enterprise"
The display name of the template.
4096"Product Info"
A unique identifier for the template. This identifier needs to be unique across the enterprise for which the metadata template is being created.
When not provided, the API will create a unique templateKey
based on the value of the displayName.
64"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
An ordered list of template fields which are part of the template. Each field can be a regular text field, date field, number field, as well as a single or multi-select list.
Whether or not to copy any metadata attached to a file or folder when it is copied. By default, metadata is not copied along with a file or folder when it is copied.
true
The schema representing the metadata template created.
A template for metadata that can be applied to files and folders.
The ID of the metadata template.
"58063d82-4128-7b43-bba9-92f706befcdf"
The value will always be metadata_template.
metadata_template "metadata_template"
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"productInfo"
The display name of the template. This can be seen in the Box web app and mobile apps.
4096"Product Info"
Defines if this template is visible in the Box web app UI, or if it is purely intended for usage through the API.
true
An ordered list of template fields which are part of the template. Each field can be a regular text field, date field, number field, as well as a single or multi-select list.
Whether or not to include the metadata when a file or folder is copied.
true