Set Allowed Origins

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
This request body class requires all of the following: Page , InlineAllowedOrigins1
{
    "resultTotal": 0,
    "pageCount": 0,
    "page": 0,
    "pageSize": 0,
    "associations": [
        {
            "entityId": "string",
            "associationId": "string"
        }
    ],
    "values": [
        {
            "origin": "string"
        }
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns AllowedOrigins of type(s) application/json;version=37.0
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"
        }
    ]
}