v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Storage

Get S3 bucket CORS

Retrieves the current Cross-Origin Resource Sharing (CORS) configuration for an S3 bucket, showing which domains are allowed to access the bucket from web browsers.

Deprecated: Use GET /v4/object_storages/{storage_id}/buckets/{bucket_name} instead, which returns CORS along with policy and lifecycle configuration.

get/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 retrieve CORS configuration from

Response

StorageGetBucketCorsEndpointRes

allowedOriginsstring[]

List of allowed origins for Cross-Origin Resource Sharing (CORS) requests. Contains domains/URLs that are permitted to make cross-origin requests to this bucket.

Example response

{
  "allowedOrigins": [
    "https://example.com",
    "https://app.example.com",
    "*"
  ]
}