v1
latestOpenAPI 3.0.42026-07-26263457588.1 KBManage Files
Delete File
Delete an object from the storage zone. In case the object is a directory all the data in it will be recursively deleted as well.
delete/{storageZoneName}/{path}/{fileName}
Path parameters
storageZoneNamestring required
The name of your storage zone where you are connecting to.
pathstring required
The directory path to your file. If this is the root of your storage zone, you can ignore this parameter.
fileNamestring required
The name of the file that you wish to delete.
Query parameters
allowRootDelete'true'
Set to true to bypass the root directory deletion guard and delete the storage zone root (/).
Headers
AccessKeystring required
The API AccessKey used for authentication.
allowRootDelete'true'
Set to true to bypass the root directory deletion guard and delete the storage zone root.
Response
Object was successfully deleted