# Remove a member from a particular group A Member get removed from the group ## Endpoints **DELETE** `/api/v1/mdm/groups/{group_id}/members/{member_id}` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/groups/{group_id}/members/{member_id}` ## Scope `MDMDeviceMgmt.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** - `application/json` ### Path Parameters - **group_id** `string` — **Mandatory** - Unique identifier of the group. Obtain from the [Get Group List](https://www.manageengine.com/products/desktop-central/help/api/onpremise/groups-get-group-list.html) response - **member_id** `string` — **Mandatory** - Unique identifier of the group member. Obtain from the [Get Group Members](https://www.manageengine.com/products/desktop-central/help/api/onpremise/groups-get-group-members.html) response ### Request Body `application/json` `JSON Object` - **group_ids** `array` — Optional - **member_ids** `array` — Optional ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/groups/{group_id}/members/{member_id} \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"group_ids":[0],"member_ids":[0]}' ``` ### Sample Request Body ```json { "group_ids": [ 0 ], "member_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:** 400 | **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.