Admin permissions requiredUpdating metadata templates is restricted to users with admin permission. This
means that only admins, or co-admins who have been granted rights to Create
and edit metadata templates for your company by the admin can use the web
app or the API to manage templates.
Updates to metadata templates are performed through operations rather than
directly changing the template itself. This method allows us to update any
existing metadata instances that are already applied to files and folders.
Template operations update a template’s details or fields. These operations are
generally safe as they are applied to any template instance without much impact.
Field operations transform the schema of a template. The following is a list of
operations that can be used in this API and can potentially change the data of
any previously assigned templates.These changes will be logged as template changes but not as file changes.
This will update the field category to have a new display name of
Customer Group. If the key is changed, existing values of the specified
field are migrated to the new key. The search index will be updated, yet it may
take time depending on how many files are affected by the change.
This may affect existing instances of this template.
The operation removeField removes a field from a template.
Parameter
fieldKey
The key of the field to remove from the template
Report incorrect code
Copy
Ask AI
{ "op": "removeField", "fieldKey": "brand"}
This will remove the field brand from the template as well as all instances of
the template. The search index will be updated, yet it may take time depending on
how many files are affected by the change.
This will affect existing instances of this template.