# Downloads specified patches for all systems Deprecating soon Initiates the download process for selected patches across all computers managed by the Endpoint Central server. **This API endpoint is deprecating soon** ## Endpoint `POST /api/1.4/patch/downloadpatch` ## Request ### Request URL `https://{server-hostname}:8383/api/1.4/patch/downloadpatch` ### Scope `PatchMgmt.CREATE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` **JSON Object** - **patchids** — JSON Array *(Optional)* - This parameter holds the list of patch Ids ### Sample Request ```curl curl --request POST \ --url https://appdomain/api/1.4/patch/downloadpatch \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"patchids":[112,113]}' ``` ### Sample Request Body ```json { "patchids": [ 112, 113 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` **JSON Object** ## Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 ```json { "message_type": "downloadpatch", "message_response": { "downloadpatch": { "status": "Download initiated successfully" } }, "message_version": "1.4", "status": "success" } ``` ## Rate Limits **Duration:** 1 minute | **Threshold:** 120 | **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.