POST
/
api
/
storage
/
buckets
{
  "message": "Bucket created successfully",
  "bucket": "avatars"
}

Authorizations

x-api-key
string
header
required

Body

application/json
bucketName
string
required

Bucket name (alphanumeric, underscore, and hyphen only)

Example:

"avatars"

isPublic
boolean
default:true

Whether the bucket is publicly accessible

Example:

true

Response

Bucket created successfully

message
string
Example:

"Bucket created successfully"

bucketName
string
Example:

"avatars"