# Uninstall agent on a computer Initiates the uninstallation process for the Endpoint Central agent on managed computer in Endpoint Central. **This API endpoint is deprecating soon** This API endpoint will be permanently removed on January 2027, please migrate to the new endpoint. [View new endpoint >](https://www.manageengine.com/products/desktop-central/help/api/cloud/computers-uninstall-agent.html) ## Endpoint `POST /api/1.4/som/computers/uninstallagent` ## Request URL https://*[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)*/api/1.4/som/computers/uninstallagent ## Scope `DesktopCentralCloud.SOM.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Query Parameters - **resource_id** `string` *(Optional)*: Deprecated param not applicable ### Request Body `application/json` - `JSON Object` - **resourceids** `array` *(Optional)*: Specify the resource IDs of the computers. You can obtain these IDs from the response of this [Computers](https://www.manageengine.com/products/desktop-central/help/api/cloud/computers-getcomputers.html) API, under the `resource_id_string` field. ## Sample Request ```curl curl --request POST \ --url https://appdomains/api/1.4/som/computers/uninstallagent \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ### Sample Request Body ```json { "resourceids": [ 301 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `JSON Object` - **message_type** `string`: Name of the module - **message_response** `JSON Object`: Response message containing computer's operation status - **message_version** `string`: Version of the Api - **status** `string`: Status of the request ## Possible Response Codes - **200** `HTTP code`: Request processed successfully ## Sample Response: HTTP 200 ```json { "message_type": "computers", "message_response": { "computers": { "Status": "UnInstallation initiated successfully" } }, "message_version": "1.4", "status": "success" } ``` ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **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.