Skip to main content
POST
Create New Bucket

Authorizations

x-api-key
string
header
required

Body

application/json
bucketName
string
required

Bucket name (alphanumeric, underscore, and hyphen only)

Pattern: ^[a-zA-Z0-9_-]+$
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"