Skip to main content
POST
Create a bucket

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Query Parameters

teamId
string

Team to act in. Omit for your personal workspace. API keys created for a team use that team automatically.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6a81bed11470bfcd2a5dbcfa"

Body

application/json
name
string
required

Bucket name, at least 3 characters.

Minimum string length: 3
projectId
string

Project to associate the bucket with.

Pattern: ^[a-fA-F0-9]{24}$
environmentId
string

Environment to create the bucket in. Omit to use the default environment.

Pattern: ^[a-fA-F0-9]{24}$
region
enum<string>

ID of the region to store the data in. See the table above or GET /v1/storage/regions. Defaults to global. Cannot be changed after the bucket is created.

Available options:
global,
sjc,
ord,
iad,
ams,
fra,
lhr,
sin,
nrt,
los
Example:

"fra"

isPublic
boolean | null

Make objects readable by anyone with the URL. Defaults to false.

corsRules
object[] | null

CORS rules for browser access.

lifecycleRules
object[] | null

Rules that delete or move objects after a number of days.

browserUploadOrigins
string[] | null

Not supported. Leave empty.

teamId
string

Team to act in. Omit for your personal workspace.

Pattern: ^[a-fA-F0-9]{24}$

Response

Storage bucket created

message
string
required

Human-readable result of the request.

Example:

"Storage bucket created"

data
object
required

The result of the request.

Last modified on October 31, 2026