# Remove multiple managed users at once Remove users ## Endpoint `DELETE /api/v1/mdm/users` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/users` ## Scope `MDMUser.DELETE` ## Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — **Mandatory** — `application/json` - **Accept** `string` — **Mandatory** — `application/json` ### Request Body `application/json` - `user_ids` `array` — **Mandatory** - Array of managed user IDs to be removed (required). Obtain from the [Get Users](https://www.manageengine.com/products/desktop-central/help/api/onpremise/users-get-multiple-users.html) response. ## Sample Request ```curl curl --request DELETE \ --url https://appdomain/api/v1/mdm/users \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/json' \ --data '{"user_ids":["9007199254740999","9007199254756659"]}' ``` ## Sample Request Body Remove two managed users by their IDs ```json { "user_ids": [ "9007199254740999", "9007199254756659" ] } ``` ## 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.