Skip to main content

Files

Ability to add tags, remove tags and delete files provided in a file field.

PropertyTypeDefault ValueOptionsDescription
addtagsarray(empty)N/AThe tags to add to the file.
removetagsarray(empty)N/AThe tags to remove from the file.
deletebooleanfalseN/AThe files to delete

Examples

Example 1: Add tags to a file

{
"addtags": {
"myfilesfield": [
"form"
]
}
}

Example 2: Remove tags from a file

{
"removetags": {
"myfilesfield": [
"form"
]
}
}

Example 3: Delete a file

{
"delete": ["myfilesfield"]
}