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
Organization ID
- application/json
Body
required
Name of the bucket to be provisioned
Name of the organization where the bucket should be provisioned
ID of the user who is requesting the bucket
bucket_options
object
If set to true, the bucket will be publicly accessible. Default is false.
Storage class for the bucket. Default is STANDARD
.
Possible values: [STANDARD
, STANDARD_IA
, GLACIER
, GLACIER_IR
]
If set to true, per object ACL will be enabled. Default is false.
Role assigned to the user in the organization
Possible values: [Admin
, Member
]
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string"
}