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
Example response
{
"allowedOrigins": [
"https://example.com",
"https://app.example.com",
"*"
]
}