Delete an APD Task

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

Deletes an existing Automated Patch Deployment (APD) task.

Request URL

https://{serverurl}/dcapi/patch/autopatchdeployment/delete

Scope

DesktopCentralCloud.PatchMgmt.DELETECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
taskNamestringMandatory

Name of the APD task to operate on

Sample Request

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

Copied!
  {
    "taskName": "My APD Task"
  }
                
Show full

Response Parameters

- HTTP code 200

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

Action result message (e.g., task has been suspended successfully)

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Task deleted

Copied!
  {
    "status": "Task has been deleted successfully"
  }
                
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.