Applies an instance of a metadata template to a file. The metadata_fields parameter contains key-value pairs that match the fields defined in the template. In most cases only field keys present in the metadata template will be accepted, except for the `global.properties` templat…
scopeRequiredstringThe scope of the metadata template. Use 'global' for global templates (like 'properties') or 'enterprise' for enterprise templates. For enterprise templates, the scope will be automatically converted to the enterprise ID format (e.g., 'enterprise_12345').
file_idRequiredstringThe unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
template_keyRequiredstringThe name of the metadata template (templateKey). For example: 'properties' for the global.properties template, or a custom template key like 'testTemplate'. Use BOX_LIST_ALL_METADATA_TEMPLATES_FOR_ENTERPRISE or BOX_LIST_ALL_GLOBAL_METADATA_TEMPLATES to find available template ke…
metadata_fieldsobjectA dictionary of metadata field key-value pairs to set on the file. The keys must match the field keys defined in the metadata template. For the 'global.properties' template, any key-value pairs can be used. Example: {'author': 'John', 'status': 'draft'}. For enum fields, provide…
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.