Set Allowed Origins
Sets allowed origins to the given set of origins.
Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/site/settings/cors
COPY
Request Body
AllowedOrigins of type(s) application/json
Required
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"origin": "string"
}
]
}
Responses
200
OK
Returns AllowedOrigins of type(s) application/json;version=38.1
This response body class contains all of the following: Page , InlineAllowedOrigins1
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"origin": "string"
}
]
}