Skip to main content

Provision a new bucket

POST 

/v1/providers/:provider_id/orgs/:org_id/provision

Provision a new bucket in the organization account, also creates the organization account if it doesn't exist. This is an idempotent operation, and calling it multiple times with the same parameters will not create duplicate buckets.

Provisioning API responds with an access key and secret to access the newly provisioned bucket.

Request

Path Parameters

    provider_id stringrequired

    Provider ID

    org_id stringrequired

    Organization ID

Body

required

    bucket_namestringrequired

    Name of the bucket to be provisioned

    org_namestringrequired

    Name of the organization where the bucket should be provisioned

    user_idstringrequired

    ID of the user who is requesting the bucket

    bucket_options

    object

    publicboolean

    If set to true, the bucket will be publicly accessible. Default is false.

    storage_classStorageClass (string)

    Storage class for the bucket. Default is STANDARD.

    Possible values: [STANDARD, STANDARD_IA, GLACIER, GLACIER_IR]

    enable_object_aclboolean

    If set to true, per object ACL will be enabled. Default is false.

    user_roleOrgMembership (string)

    Role assigned to the user in the organization

    Possible values: [Admin, Member]

Responses

OK

Schema

    object