# Delete an APD Task Deletes an existing Automated Patch Deployment (APD) task. ## Endpoint **DELETE** `/dcapi/patch/autopatchdeployment/delete` ## Request ### Request URL https://[\{serverurl\}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/autopatchdeployment/delete ### Scope `DesktopCentralCloud.PatchMgmt.DELETE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` - **JSON Object** - **taskName** `string` — **Mandatory** - Name of the APD task to operate on ### Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/patch/autopatchdeployment/delete \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"taskName":"My APD Task"}' ``` ### Sample Request Body Delete by task name ```json { "taskName": "My APD Task" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - **JSON Object** - **status** `string` - Action result message (e.g., task has been suspended successfully) ### Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 Task deleted ```json { "status": "Task 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.