{
"ng_object_storage": {
"virtual_bucket_dump": true,
"cname_enabled": true,
"domain_names": [
"string"
]
}
}curl --location --request POST 'http://10.16.11.91:6012/sddc/v1/v1/cluster/ng-object-storage:set-cors' \
--header 'x-sddc-token: 78ce2df0c80e4b10a28c7779af4dc10f' \
--header 'Content-Type: application/json' \
--data-raw '{
"ng_object_storage": {
"virtual_bucket_dump": true,
"cname_enabled": true,
"domain_names": [
"string"
]
}
}'{
"ng_object_storage": {
"status": "string",
"name": "string",
"create": "2019-08-24T14:15:22Z",
"domain_names": [
"string"
],
"action_status": "string",
"cluster": {
"status": "string",
"type": "string",
"id": 0,
"fs_id": "string",
"name": "string"
},
"forward_local": true,
"cors": [
{
"origin": [
"string"
],
"expose_header": [
"string"
],
"method": [
"string"
],
"allow_header": [
"string"
],
"max_age": 0
}
],
"virtual_bucket_dump": true,
"cname_enabled": true,
"id": 0
}
}