# Suspend an APD Task Suspends an active Automated Patch Deployment (APD) task. ## Endpoints **POST** `/dcapi/patch/autopatchdeployment/suspend` ## Request URL `https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/autopatchdeployment/suspend` ## Scope `DesktopCentralCloud.PatchMgmt.CREATE` ## 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 POST \ --url https://appdomains/dcapi/patch/autopatchdeployment/suspend \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"taskName":"My APD Task"}' ``` ## Sample Request Body ### Suspend 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 suspended ```json { "status": "task has been suspended successfully" } ``` ![ ](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.