Create a List of Domains Allowed for CORS Processing

post

/ic/api/integration/v1/environment/corsdomains

Creates a list of allowed domains for CORS processing. In the json payload, ensure that the list is in the following format: scheme, hostname, and port (optional). For example, "corsDomains": ["https://abc.com", "http://xyz.com:123"].

Request

Supported Media Types
Body ()
CORS domains resource
Root Schema : CorsDomainsRs
Type: object
Show Source
Nested Schema : corsDomains
Type: array
Show Source
Back to Top

Response

Supported Media Types

204 Response

Successful operation

400 Response

Bad request, missing required data

500 Response

Server error
Back to Top