# Approve Specified Patches for Deployment Approves specified patches for deployment across managed systems. ## Endpoint PUT `/dcapi/patch/settings/approvePatches` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/patch/settings/approvePatches` ### Scope `PatchMgmt.UPDATE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` - JSON Object - **patchIds** `array` — **Mandatory** - Array of patch IDs to approve - **remarks** `string` — Optional - Optional remarks for the approval action ## Sample Request ```curl curl --request PUT \ --url https://appdomain/dcapi/patch/settings/approvePatches \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"patchIds":[12345,67890,11111],"remarks":"Approved for production"}' ``` ### Sample Request Body Approve specific patches by ID ```json { "patchIds": [ 12345, 67890, 11111 ], "remarks": "Approved for production" } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - JSON Object - **status** `string` - Operation result: success or failure - **approvedCount** `string` - Number of patches successfully approved ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Patches approved ```json { "approvedCount": 3, "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.