Update CORS policy
Update an existing CORS policy rule on the object storage bucket. All fields must be provided as the rule is fully replaced.
Documentation Index
Fetch the complete documentation index at: https://api-docs.sevalla.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Object storage bucket identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
CORS policy rule identifier
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Body
HTTP methods allowed by this CORS rule. GET - read objects. PUT - upload objects. POST - create objects. DELETE - remove objects. HEAD - retrieve object metadata.
1GET, PUT, POST, DELETE, HEAD ["GET", "PUT"]Origins allowed by this CORS rule. Use "*" to allow all origins. Maximum 100 origins.
1 - 100 elements1 - 250["https://example.com"]HTTP headers allowed in CORS requests. Maximum 100 headers.
1001 - 250["Content-Type"]Response
Default Response
Confirmation message
"CORS policy updated"