skip to main content
Hybrid Data Pipeline API reference : Administrators API : CORS Whitelist API
  

Try Now

CORS Whitelist API

Hybrid Data Pipeline supports cross-origin resource sharing (CORS) filters that allow the sharing of web resources across domains. Configuring CORS behavior is a two part process. An administrator must enable CORS behavior via the Limits API and create a whitelist of trusted origins. The CORS Whitelist API is used to create and manage a CORS whitelist. (See also Configuring CORS behavior.)
To create and manage a whitelist, the administrator must have either the Administrator (12) permission or the CORSwhitelist (23) permission and administrative access on the default system tenant.
The following table summarizes the operations that are supported with the CORS Whitelist API.
Operation
Request
URL
GET
https://<myserver>:<port>/api/admin/security/cors/whitelist
POST
https://<myserver>:<port>/api/admin/security/cors/whitelist
GET
https://<myserver>:<port>/api/admin/security/cors/whitelist/{id}
PUT
https://<myserver>:<port>/api/admin/security/cors/whitelist/{id}
DELETE
https://<myserver>:<port>/api/admin/security/cors/whitelist/{id}
* Get CORS whitelist
* Create whitelist or add trusted origins to whitelist
* Get information on a trusted origin
* Update information on a trusted origin
* Delete a trusted origin on the CORS whitelist