Skip to main content

Delete Multiple Resources

Removes multiple files or folders from your site. Deleting a folder also deletes all of its contents. Anyone with full or admin permissions to the parent folder can perform this operation.

If an operation is partially successful, you receive an error message for the first failure, and the response does 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

NameData TypeNotes
resourcesarray(string)Required. Array of resources to delete. Specify each one as either the complete path (e.g. my/folder/file.txt) or the internal resource ID (e.g. id:31415926535).