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_name stringrequired

    Name of the bucket to be provisioned

    org_name stringrequired

    Name of the organization where the bucket should be provisioned

    user_id stringrequired

    ID of the user who is requesting the bucket

    bucket_options

    object

    public boolean

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

    storage_class StorageClass (string)

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

    Storage class for the bucket. Default is STANDARD.

    enable_object_acl boolean

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

    user_role OrgMembership (string)

    Possible values: [Admin, Member]

    Role assigned to the user in the organization

Responses

OK

Schema

    object

Loading...