Create metadata instance on folder
Applies an instance of a metadata template to a folder.
In most cases only values that are present in the metadata template will be accepted, except for the global.properties template which accepts any key-value pair.
To display the metadata template in the Box web app the enterprise needs to be configured to enable Cascading Folder Level Metadata for the user in the admin console.
Path parameters
The unique identifier that represent a folder.
The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/folder/123 the folder_id is 123.
The root folder of a Box account is always represented by the ID 0.
The scope of the metadata template.
The name of the metadata template.
Request body
Example request
{
"name": "Aaron Levie"
}Response
Returns the instance of the template that was applied to the folder, including the data that was applied to the template.
Example response
{
"$parent": "folder_59449484661,",
"$template": "marketingCollateral",
"$scope": "enterprise_27335",
"$version": 1,
"$canEdit": true,
"$id": "01234500-12f1-1234-aa12-b1d234cb567e",
"$type": "properties-6bcba49f-ca6d-4d2a-a758-57fe6edf44d0",
"$typeVersion": 2
}