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
- application/json
CORS domains resource
Response
Supported Media Types
- application/json; charset=utf-8
204 Response
Successful operation
400 Response
Bad request, missing required data
500 Response
Server error