# Un-Approve Specified Patches for Deployment Un-Approve the specified patches to exclude them from deployment. ## Endpoint `PUT /dcapi/patch/settings/unApprovePatches` ## Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/patch/settings/unApprovePatches ## Scope `DesktopCentralCloud.PatchMgmt.UPDATE` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Body `application/json` **JSON Object** - **patchIds** `array` — **Mandatory** - Array of patch IDs to unapprove - **remarks** `string` — Optional - Optional remarks for the unapproval action ## Sample Request ```curl 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 ```json { "patchIds": [ 12345, 67890 ], "remarks": "Reverted due to compatibility issue" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` **JSON Object** - **status** `string` - Operation result: success or failure - **unapprovedCount** `string` - Number of patches successfully unapproved ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 Patches unapproved ```json { "unapprovedCount": 2, "status": "success" } ``` ## Rate Limits ![](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.