{path}, along with its cached transformation variants.
Path parameters
Response
jobsDeleted, number: queued processing jobs cancelled and removedlocalCacheFilesDeleted, number: cached transformation variants removed from local diskcloudCacheFilesDeleted, number: cached transformation variants removed from cloud storage
jobsDeleted and the cache counters stay at 0 even though the folder’s objects are gone.
Partial deletion
If the original was removed but some cleanup step failed, the response has a different shape: nosuccess field, and an errors array inside details.
200 when originalFileDeleted is true and 500 when it is false. Branch on the presence of error, not on success.
Related
Invalidate Cache
Clear cached variants while keeping the original.
List Storage
Browse folders and files before deleting.
Move File or Folder
Move instead of deleting.