# 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 ### Request URL `https://{server-hostname}:8383/dcapi/tools/shutdown/tasks` ### Scope `Tools.DELETE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` - JSON Object - **taskIDs** — JSON Array *(Optional)* ### Sample Request ```curl curl --request DELETE \ --url https://appdomain/dcapi/tools/shutdown/tasks \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"taskIDs":[5,6,7]}' ``` ### 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 ### Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 ```json { "deletedCount": 3, "status": "success" } ``` ## 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.