Storage
Create S3 bucket CORS
Configures Cross-Origin Resource Sharing (CORS) rules for an S3 bucket, allowing web applications from specified domains to access bucket resources directly from browsers.
Deprecated: Use PATCH /v4/object_storages/{storage_id}/buckets/{bucket_name} with {"cors": {"allowed_origins": [...]}} instead.
post/storage/provisioning/v1/storage/{storage_id}/s3/bucket/{bucket_name}/cors
Path parameters
storage_idinteger required
Unique identifier for the storage instance
bucket_namestring required
Name of the S3 bucket to configure CORS for
Request body
Example request
{
"allowedOrigins": [
"https://example.com",
"https://app.example.com",
"*"
]
}Response
A SuccessResponse is a response that shows that operations was completed successfully