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"].

Note: Oracle Integration applications allow authenticated access from Oracle domains like oracle.com, oraclecorp.com, oracleonsrcloud.com, oc.scloud, oci.scloud, oracleiaas.com, and oraclecloud.com. All domains belonging to arbitrary origins need to be registered in the allowed list of sites for cross-origin resource sharing (CORS) processing. Use this API only if you want to allow access from non-Oracle cloud domains. You need Administrator permissions to use CORS related API functions.

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

createCorsDomains 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