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.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Unique identifier for the storage instance
Name of the S3 bucket to retrieve CORS configuration from
StorageGetBucketCorsEndpointRes
StorageGetBucketCorsEndpointRes output
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.
[
"https://example.com",
"https://app.example.com",
"*"
]