Delete Bucket

Permanently delete any bucket as an admin.
EndpointMethodAdmin Required
/api/v1/admin/buckets/:bucketNameDELETEYes

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

StatusReason
400Missing bucket name
404Bucket not found