Python
S3-Compatible Storage
Create bucket
Creates a new bucket within an S3-compatible storage.
POST
Python
Documentation Index
Fetch the complete documentation index at: https://gcore-doc-1046.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Storage ID
Body
application/json
Name of the bucket to create
Example:
"my-new-bucket"
Response
BucketDetailResV4
cors
BucketCORSV4 CORS settings controlling which web domains can access objects in this bucket from a browser. · object
required
lifecycle
BucketLifecycleV4 Automatic object expiration rule. Objects are permanently deleted after the specified number of days. · object
required
Globally unique bucket name within the storage. Used as the path prefix when accessing objects via S3 API.
Example:
"my-bucket"
policy
BucketPolicyV4 Access policy controlling whether objects in this bucket can be read without authentication. · object
required
Parent storage this bucket belongs to. Use this ID in the URL path for bucket operations.
Example:
123