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.
Authorizations
The storage zone password also doubles as your API key. You can find it in your storage zone details page in the bunny.net dashboard.
Headers
The API AccessKey used for authentication.
Set to true to bypass the root directory deletion guard and delete the storage zone root.
true Path Parameters
The name of your storage zone where you are connecting to.
The directory path to your file. If this is the root of your storage zone, you can ignore this parameter.
The name of the file that you wish to delete.
Query Parameters
Set to true to bypass the root directory deletion guard and delete the storage zone root (/).
true Response
Object was successfully deleted