# Remove an app association from a device group Remove app from the group. ## Endpoint `DELETE /api/v1/mdm/apps/{app_id}/groups/{group_id}` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)`/api/v1/mdm/apps/{app_id}/groups/{group_id}` ## Scope `MDMOnDemand.MDMDeviceMgmt.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Path Parameters - **app_id** `string` — Mandatory - Unique identifier of the application. Obtain from the [Get App List](https://www.manageengine.com/mobile-device-management/help/api/cloud/app-management-get-an-app.html) response - **group_id** `string` — Mandatory - Unique identifier of the group. Obtain from the [Get Group List](https://www.manageengine.com/mobile-device-management/help/api/cloud/groups-get-group-list.html) response ### Request Body `application/json` `JSON object` - **app_ids** `array` — Optional - Array of app IDs to disassociate from the group - **group_ids** `array` — Optional ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/apps/{app_id}/groups/{group_id} \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ## Sample Request Body ```json { "app_ids": [ 0 ], "group_ids": [ 0 ] } ``` ## Possible Response Codes - **204** `HTTP code` ## Sample Response: HTTP 204 ```text 204 No Content ``` ![](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.