Delete Bucket
Permanently delete any bucket as an admin.
| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/admin/buckets/:bucketName | DELETE | Yes |
Permanently deletes a bucket and all its contents, regardless of owner.
This action is irreversible. All objects in the bucket will be permanently deleted.
Path Parameters
bucketName
string required
The name of the bucket to delete.
Response
Returns 204 No Content on success.
Errors
| Status | Reason |
|---|---|
400 | Missing bucket name |
404 | Bucket not found |