Un-Approve Specified Patches for Deployment

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

Un-Approve the specified patches to exclude them from deployment.

Request URL

https://{serverurl}/dcapi/patch/settings/unApprovePatches

Scope

DesktopCentralCloud.PatchMgmt.UPDATECopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

- Request Body

application/json
JSON Object
Hide Sub-Attributes
patchIdsarrayMandatory

Array of patch IDs to unapprove

remarksstringOptional

Optional remarks for the unapproval action

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request PUT \
  --url https://appdomains/dcapi/patch/settings/unApprovePatches \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52' \
  --header 'content-type: application/json' \
  --data '{"patchIds":[12345,67890]}'

Sample Request Body

Unapprove patches due to compatibility issue

Copied!
  {
    "patchIds": [
      12345,
      67890
    ],
    "remarks": "Reverted due to compatibility issue"
  }
                
Show full

Response Parameters

- HTTP code 200

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

Operation result: success or failure

unapprovedCountstring

Number of patches successfully unapproved

Possible Response Codes

200HTTP code

Sample Response: HTTP 200

Patches unapproved

Copied!
  {
    "unapprovedCount": 2,
    "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.