Create Bucket
POST /enum.api.v1.ObjectStorageBucketService/CreateObjectStorageBucket
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Region for the bucket. When empty, the project’s default_region_id is used.
Enable Object Lock at create time. Cannot be enabled after the bucket exists.
Protect the bucket from deletion; it must be unprotected before it can be deleted. Defaults to true when omitted, so buckets are protected unless deletion protection is explicitly set to false.
Responses
Section titled “ Responses ”OK
object
object
Region where the bucket lives (e.g. “fra”).
ObjectStorageBucketConfiguration is the current bucket configuration as reported by object storage. Documents are opaque XML or JSON strings in the same shape accepted by the corresponding Put RPCs.
object
Versioning status: Enabled, Suspended, or empty when unset.
Object Lock configuration document (XML), empty when unset.
Default encryption configuration document (XML), empty when unset.
Lifecycle configuration document (XML), empty when unset.
CORS configuration document (XML), empty when unset.
Bucket policy document (JSON), empty when unset.
Bucket tags as a JSON object string, empty when unset.
Whether Object Lock was enabled at create time. Cannot be changed later.
When true, the bucket cannot be deleted until unprotected.