# Permanently remove a user from the organization Permanently deletes a user account identified by the login ID from the organization. All active sessions are terminated immediately upon deletion. ## Endpoint `DELETE /dcapi/users-cloud/{userId}` ## Request URL `https://`[*{serverurl}*](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/users-cloud/{userId}` ## Scope `DesktopCentralCloud.Admin.DELETE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **accept** `string` **Mandatory**: `application/userDeletion.v1+json` Specifies the request payload format. Set to application/userDeletion.v1+json to get the response format after user data deletion in JSON format. ### Path Parameters - **userId** `string` **Mandatory** Unique user identifier. To get user id click here. [Get User Id](https://www.manageengine.com/products/desktop-central/help/api/cloud/users-public-delete-user.html?UsersPublic_getUserMeta) ## Sample Request ### Curl ```curl curl --request DELETE \ --url https://appdomains/dcapi/users-cloud/{userId} \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'accept: application/userDeletion.v1+json' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON Object` - **statusMsg** `string` Confirmation message indicating successful user deletion. ### Sample Response: HTTP 200 ```json { "statusMsg": "User john.smith has been deleted successfully" } ``` ## Rate Limits ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.