# Remove previously blocklisted apps from individual devices Remove blacklisting of app from device apps from devices ## Endpoint `DELETE /api/v1/mdm/blacklist/devices` ## Request URL `https://`[serverurl](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)`/api/v1/mdm/blacklist/devices` ## Scope `MDMOnDemand.MDMInventory.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers | Name | Type | Required | Value | |---|---|---|---| | Content-Type | string | Mandatory | `application/json` | | Accept | string | Mandatory | `application/json` | ### Request Body `application/json` JSON object: - **resource_ids** (`array`, Mandatory): Array of device or group resource IDs from which to remove the blocklist. Obtain device IDs from the [Get Device List](https://www.manageengine.com/mobile-device-management/help/api/cloud/devices-get-device-list.html) response or group IDs from the [Get Group List](https://www.manageengine.com/mobile-device-management/help/api/cloud/groups-get-group-list.html) response. - **app_group_ids** (`array`, Mandatory): Array of app group IDs to remove from the blocklist on the specified devices or groups. Obtain from the [Get Blocklist Status](https://www.manageengine.com/mobile-device-management/help/api/cloud/blocklist-get-blocklist-status.html) response. ## Sample Request ```bash curl --request DELETE \ --url https://appdomain/api/v1/mdm/blacklist/devices \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"app_group_ids":[1,2,3],"resource_ids":[1,2,3]}' ``` ## Sample Request Body Remove blocklist for 3 app groups from 3 devices ```json { "app_group_ids": [ 1, 2, 3 ], "resource_ids": [ 1, 2, 3 ] } ``` ## Response Parameters ### HTTP Code 200 Response body: `application/json` JSON object: - **resource_ids** (`array`): Array of device or group resource IDs from which the blocklist was removed. ## Possible Response Codes | Code | Type | |---|---| | 200 | HTTP code | ## Sample Response: HTTP 200 Blocklist successfully removed from devices ```json { "resource_ids": [ 1, 2, 3 ] } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 60 | **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.