# Download Specified Patches Downloads specified patches to the patch store with option to force download if already downloaded. ## Endpoint `POST /dcapi/patch/downloads` ## Request URL `https://{serverurl}/dcapi/patch/downloads` Server URL: [{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html) ### Scope `DesktopCentralCloud.PatchMgmt.CREATE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` JSON Object: - **patchIds** `array` — Mandatory - Array of patch IDs to download - **forceDownload** `boolean` — Optional - Force redownload even if already downloaded ### Sample Request ```curl curl --request POST \ --url https://appdomains/dcapi/patch/downloads \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"patchIds":[12345,12346,12347]}' ``` ### Sample Request Body Download specific patches: ```json { "patchIds": [ 12345, 12346, 12347 ], "forceDownload": false } ``` Force redownload failed patches: ```json { "patchIds": [ 12345 ], "forceDownload": true } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` JSON Object: - **status** `string` - Download operation status: Download initiated - **patchCount** `string` - Number of patches queued for download ### Sample Response: HTTP 200 Download started: ```json { "patchCount": 3, "status": "Download initiated" } ``` ## Rate Limits **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.