# Remove multiple managed users at once Remove users ## Endpoint `DELETE /api/v1/mdm/users` ## Request URL https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/users ## Scope `MDMOnDemand.MDMUser.DELETE` ## Header `Authorization: Zoho-oauthtoken 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/mobile-device-management/help/api/cloud/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: Zoho-oauthtoken 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 ``` ## Rate Limit ![](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.