# Permanently deletes one or more scheduled power operation tasks Permanently deletes the specified scheduled power operation tasks. Accepts a JSON body containing the task IDs to be removed. ## Endpoint `DELETE /dcapi/tools/shutdown/tasks` ## Request URL `https://`[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)`/dcapi/tools/shutdown/tasks` ## Scope `DesktopCentralCloud.Tools.DELETE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` - JSON Object - **taskIDs** — JSON Array *(Optional)* ## Sample Request ```curl curl --request DELETE \ --url https://appdomains/dcapi/tools/shutdown/tasks \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{}' ``` ### Sample Request Body ```json { "taskIDs": [ 5, 6, 7 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - JSON Object - **status** — string - Result of the delete operation: success or failure - **deletedCount** — integer - Number of records successfully deleted ### Sample Response: HTTP 200 ```json { "deletedCount": 3, "status": "success" } ``` ![Help](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.