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")

Get Instant Access to Files.com

The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.

Start My Free Trial

©2024 Files.com. All right reserved

FILES.COM

  • Start My Free Trial
  • Pricing
  • Docs
  • API and SDKs
  • Contact

CONTACT & SUPPORT

support@files.com

(800) 286-8372

Monday–Friday

9am–8pm Eastern