{
"bucket": {
"data": [
{
"allowed_headers": [
"string"
],
"allowed_methods": [
"string"
],
"allowed_origins": [
"string"
],
"expose_headers": [
"string"
],
"id": "string",
"max_age_seconds": 0
}
]
}
}curl --location --request POST 'https://example.com:30888/buckets//set-cors' \
--header 'Content-Type: application/json' \
--data-raw '{
"bucket": {
"data": [
{
"allowed_headers": [
"string"
],
"allowed_methods": [
"string"
],
"allowed_origins": [
"string"
],
"expose_headers": [
"string"
],
"id": "string",
"max_age_seconds": 0
}
]
}
}'{}