Update the List of Allowed Domains for CORS Processing

put

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

To modify the existing list of domains, use this API function to replace the existing list. Use the following format in the JSON payload: scheme, hostname, and port (optional). For example, "corsDomains": ["https://abc.com", "http://xyz.com:123"].

Request

Query Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : CorsDomainsRs
Type: object
Show Source
Nested Schema : corsDomains
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

updateCorsDomains 200 response
Body ()
Root Schema : Object
Type: object

204 Response

Successful operation

400 Response

Bad request, missing required data

500 Response

Server error
Back to Top