Update the List of Allowed Domains for CORS Processing

put

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

If you need to make modifications to 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"]. To clear or delete the list, update with an empty list. For example: "corsDomains": [].

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