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

Try Now
Get CORS whitelist


Retrieves the CORS whitelist. The whitelist is an array of JSON objects. Each object, or entry, provides details for each trusted origin.





URL Parameters

<myserver> is the hostname or IP address of the machine hosting the Hybrid Data Pipeline server for a standalone installation, or the machine hosting the load balancer for a load balancer installation. For a standalone installation, <port> is the port number specified as the Server Access Port during installation. For a load balancer installation, <port> must be either 80 for http or 443 for https. Whenever port 80 or 443 are used, it is not necessary to include the port number in the URL.

Response Payload Definition

The response payload takes the following format.
"lastModifiedTime": "timestamp",
"whitelist": [
"id": trusted_origin_id,
"domain": "trusted_origin_domain",
"description": "domain_description",
"lastModifiedBy": "username",
"lastModifiedTime": "timestamp"
The lastModifiedTime property indicates the last time the whitelist was modified.
The whitelist property is an array of JSON objects. Each object, or entry, provides details (described in the following table) for each trusted origin.
Valid Values
The ID of the trusted origin.
An unique ID that is generated when a trusted origin is added to the CORS whitelist.
The domain of the trusted origin.
A valid domain for the trusted origin. For example,
The wild card * can be used at the beginning of a domain. For example, * is a valid entry, and will whitelist any origin that ends with The wild card is not supported at any other location within a domain. For example,*.com is not supported for origin validation.
A description of the trusted origin.
A user provided description of the trusted origin.
The name of the administrator who last modified the entry of the trusted origin.
The Hybrid Data Pipeline username of the administrator.
The last time the entry of the trusted origin was modified.
A timestamp.

Sample Server Success Response

Status code: 200
Successful response
"lastModifiedTime": "2017-08-13T18:15:09.352Z",
"id": 1,
"domain": "http://*",
"description": "The ABC group domain",
"lastModifiedBy": "Admin1",
"lastModifiedTime": "2017-08-13T18:15:09.352Z"


Basic Authentication using Login ID and Password


The user must have the Administrator (12) or the CORSwhitelist (23) permission.