Skip to main content

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

NameData TypeNotes
resourcesarray(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)

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

No credit card required • 7-day free trial • Setup in minutes