v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Create New Bucket

post/api/storage/buckets

Request body

bucketNamestring required

Bucket name (alphanumeric, underscore, and hyphen only)

isPublicboolean

Whether the bucket is publicly accessible

Example request

{
  "bucketName": "avatars",
  "isPublic": true
}

Response

Bucket created successfully

messagestring
bucketNamestring

Example response

{
  "message": "Bucket created successfully",
  "bucketName": "avatars"
}