Bulk Delete Subfolders
bulk_delete_subfoldersDelete multiple subfolders asynchronously and soft-delete their media; owners or managers can restore from trash until purged.
Instructions
Deletes multiple subfolders asynchronously. Their media is also soft-deleted and can be restored from the trash by an account owner or manager until it is purged. To keep the media, use the Delete Subfolder endpoint, which moves it to the folder's root level.
Requires api token with one of the following permissions
Read, update & delete anythingTokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.
An expiring access token
created with the all:delegate_to_contact_permissions scope and an
authorization granting the update permission on this folder can also
be used.
An expiring access token
created with the all:delegate_to_contact_permissions scope and an
authorization granting the update permission on the folder can also be
used.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific user-requested write. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| folder_id | Yes | The hashed ID of the folder containing the subfolders | |
| hashed_ids | No | An array of the subfolder hashed IDs to be deleted. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. |