Delete Multiple Resources
Summary
Removes multiple files or folders from your site. Deleting a folder will also delete all of the contents. This operation can be performed by anyone with full
or admin
permissions to the parent folder.
If an operation is partially successful, you will receive an error message for the first failure, and the response will not include information about any files that were successfully processed or any files that were not attempted.
Endpoint
DELETE https://mysite.files.com/api/v2/resources
Replace mysite.files.com with your site address.
Request Body Schema
Name | Data Type | Notes |
---|---|---|
resources | array(string) | Required. Array of resources to be deleted. Each should be specified either as the complete path (e.g. my/folder/file.txt ) or with the internal resource ID (e.g. id:31415926535 ) |