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
-
integrationInstance(required): string
This is the name of the service instance. You can get this value from the About page where it is specified in the Service instance field.
Supported Media Types
- application/json
Response
Supported Media Types
- application/json
200 Response
updateCorsDomains 200 response
Root Schema : Object
Type:
object
204 Response
Successful operation
400 Response
Bad request, missing required data
500 Response
Server error