# Returns whitelist names Returns the whitelist name, ID, and the device type the whitelist belongs to. ## Endpoint `GET /dcapi/device/whitelistNames` ## Request ### Request URL `https://{serverurl}/dcapi/device/whitelistNames` ### Scope `DesktopCentralCloud.DeviceControl.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** (`string`, Mandatory): `application/json` #### Query Parameters - **supportedId** (`long`, Optional): Supported device identifier. Fetch from [Get Supported Devices](https://www.manageengine.com/products/desktop-central/help/api/cloud/dcpget-supported-devices.html). ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/device/whitelistNames \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' ``` ## Response ### HTTP Code 200 #### Response Body — `application/json` - `JSON Object` - **whitelistNames** (`JSON Array`): List of whitelist name entries #### Sample Response Whitelist names response ```json { "whitelistNames": [ { "createdUserID": "1", "supportedDeviceID": "1", "whitelistName": "Approved USB Drives", "createdUser": "admin", "whitelistID": "101" } ] } ``` ### HTTP Code 500 #### Response Body — `application/json` - `JSON Object` - **errorCode** (`string`): Error code identifying the type of error - **errorMsg** (`string`): Human-readable error message #### Sample Response Internal server error ```json { "errorCode": "INTERNAL_ERROR", "errorMsg": "Internal Server Error!" } ``` ### Possible Response Codes - **200**: HTTP code - **500**: HTTP code ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.