Skip to main content
POST
Create a Bucket

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

service_id
string<uuid>
required

Object storage service UUID

Body

application/json
bucket_name
string
required

Name of the bucket to create

Example:

"my-bucket"

team_id
string<uuid>

Team ID. Default team will be used if not provided.

Example:

"96616865-475e-4191-aba5-f89f0a4b71fe"

versioning
boolean
default:false

Enable versioning on the bucket

object_lock
boolean
default:false

Enable object lock on the bucket

Response

Bucket created successfully

keys
object[]

Access keys for the newly created bucket