Skip to main content
DELETE
/
api
/
storage
/
buckets
/
{bucketName}
Delete Bucket
curl --request DELETE \
  --url https://api.example.com/api/storage/buckets/{bucketName} \
  --header 'x-api-key: <api-key>'
{
  "message": "Bucket deleted successfully",
  "nextActions": "You can use POST /api/storage/buckets to create a new bucket, and GET /api/storage/buckets/:bucketName/objects to list the objects in the bucket."
}

Authorizations

x-api-key
string
header
required

Path Parameters

bucketName
string
required

Response

Bucket deleted successfully

message
string
nextActions
string