Skip to main content
DELETE
https://upload-cdn.sacul.cloud
/
{bucketName}
/
{filepath}
Delete Files
curl --request DELETE \
  --url https://upload-cdn.sacul.cloud/{bucketName}/{filepath}
{
  "success": true,
  "deletedCount": 123
}
Use this endpoint with caution. Any files deleted cannot be recovered.
For security reasons, the maximum number of files that can be deleted in a single request is 100. If you need to delete more files or wipe a bucket, contact us.

Parameters

bucketName
string
required
The name of the bucket.
filepath
string
required
The path to the file or directory to delete.

Response

success
boolean
Indicates if the deletion was successful.
deletedCount
integer
Number of files/items deleted.