# Remove previously blocklisted apps from device groups Remove blacklisting of app from device apps from Groups ## Endpoint [DELETE /api/v1/mdm/blacklist/groups](https://www.manageengine.com/products/desktop-central/help/api/onpremise/blocklist-delete-apps-on-groups.html) ## Request ### Request URL `https://{server-hostname}:8383/api/v1/mdm/blacklist/groups` ### Scope `MDMInventory.DELETE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **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/products/desktop-central/help/api/onpremise/devices-get-device-list.html) response or group IDs from the [Get Group List](https://www.manageengine.com/products/desktop-central/help/api/onpremise/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/products/desktop-central/help/api/onpremise/blocklist-get-blocklist-status.html) response. ### Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/blacklist/groups \ --header 'Accept: application/json' \ --header 'Authorization: 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 device groups ```json { "app_group_ids": [ 1, 2, 3 ], "resource_ids": [ 1, 2, 3 ] } ``` ## Response ### 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 - **200** `HTTP code` ### Sample Response: HTTP 200 Blocklist successfully removed from groups ```json { "resource_ids": [ 1, 2, 3 ] } ``` ## API Rate Limits ![](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.