Put bucket CORS
Set up CORS rules for your Telnyx Cloud Storage buckets with this guide on using JSON files and AWS S3 API commands.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check out our upcoming events and meetups! View events →
Set up CORS rules for your Telnyx Cloud Storage buckets with this guide on using JSON files and AWS S3 API commands.
{
"CORSRules": [
{
"AllowedOrigins": ["http://www.example.com"],
"AllowedMethods": ["PUT", "POST", "DELETE"],
"AllowedHeaders": ["*"]
},
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["GET"]
}
]
}
user@host % aws s3api put-bucket-cors --bucket my_bucket --cors-configuration file://cors.json
Was this page helpful?