# Initiate computer removal from Scope of Management Initiates a computer removal request from the Scope of Management. ## Endpoint `DELETE /dcapi/som/computers/actionRequest/remove` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/som/computers/actionRequest/remove` ## Scope `DesktopCentralCloud.SOM.DELETE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Content-Type** `string` — Mandatory: `application/computerIdsToDelete.v1+json` - **Accept** `string` — Mandatory: `application/somComputerDeletedStatus.v1+json` ### Request Body `application/json` - `computerIDs` `array` — Optional Array of computer resource IDs to perform the operation, get computer IDs from the response of the [Computers](https://www.manageengine.com/products/desktop-central/help/api/cloud/computers-getcomputers.html) API, under the resource_id field. ## Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/som/computers/actionRequest/remove \ --header 'Accept: application/somComputerDeletedStatus.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/computerIdsToDelete.v1+json' \ --data '{}' ``` ## Sample Request Body Remove computers from SoM ```json { "computerIDs": [ "5001", "5002" ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - `status` `boolean` Indicates whether the computer removal request was accepted and the delayed action was successfully queued. - `actionRequestID` `string` Unique tracking identifier for this removal action request. Use this ID to poll progress via removeStatus. - `message` `string` Descriptive message providing additional context about the removal result. Present when an error occurs or additional information is needed. ### HTTP Code 400 Response Body — `application/json` - `statusCode` `string` HTTP status code (400). - `errorCode` `string` API-specific error code identifying the validation failure. - `message` `string` Error message describing the validation failure. ### HTTP Code 412 Response Body — `application/json` - `statusCode` `string` HTTP status code (412). - `errorCode` `string` Precondition failed error code identifying the business logic violation. - `message` `string` Error message describing the precondition failed while processing request. ## Possible Response Codes - `200` — HTTP code - `400` — HTTP code - `412` — HTTP code ## Sample Response: HTTP 200 Removal initiated ```json { "actionRequestID": "AR-REM-1712567890789", "status": true } ``` ## Sample Response: HTTP 400 Missing or empty computerIDs in request ```json { "errorCode": "20006", "message": "Resource IDs are not present in the request", "statusCode": 400 } ``` ## Sample Response: HTTP 412 Non-admin user cannot access the requested computers ```json { "errorCode": "20005", "message": "Selected computers are not accessible", "statusCode": 412 } ``` Some computers are not managed by the server ```json { "errorCode": "30007", "message": "All resources are not managed computers", "statusCode": 412 } ``` ## Rate Limit ![](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.