{
"bucket": {
"cors": [
{
"allowed_methods": [
"string"
],
"max_age_seconds": 0,
"allowed_headers": [
"string"
],
"expose_headers": [
"string"
],
"allowed_origins": [
"string"
],
"id": "string"
}
]
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v2/os/buckets/:set-cors' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"bucket": {
"cors": [
{
"allowed_methods": [
"string"
],
"max_age_seconds": 0,
"allowed_headers": [
"string"
],
"expose_headers": [
"string"
],
"allowed_origins": [
"string"
],
"id": "string"
}
]
}
}'