Skip to main content
POST
/
api
/
v1
/
buckets
Create bucket
curl --request POST \
  --url https://api.example.com/api/v1/buckets \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_public": true,
  "name": "<string>",
  "required_scopes": "<string>"
}
'
{
  "bucket_id": "<string>",
  "created_at": "<string>",
  "is_public": true,
  "name": "<string>",
  "required_scopes": "<string>"
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Bucket creation request

is_public
boolean
name
string
required_scopes
string

Response

OK

bucket_id
string
created_at
string
is_public
boolean
name
string
required_scopes
string