Permanently deletes one or more scheduled power operation tasks

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Permanently deletes the specified scheduled power operation tasks. Accepts a JSON body containing the task IDs to be removed.

Request URL

https://{server-hostname}:8383/dcapi/tools/shutdown/tasks

Scope

Tools.DELETECopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
taskIDsJSON ArrayOptional
Show Sub-Attributes
string

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
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

Copied!
  {
    "taskIDs": [
      5,
      6,
      7
    ]
  }
                
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
statusstring

Result of the delete operation: success or failure

deletedCountinteger

Number of records successfully deleted

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Copied!
  {
    "deletedCount": 3,
    "status": "success"
  }
                
Show full

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.