# Initiate Patch Scan on Specified Systems Initiates a patch scan on specified systems to detect missing patches and vulnerabilities. ## Endpoint **POST** `/dcapi/patch/systems/scanSystems` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/patch/systems/scanSystems` ### Scope `PatchMgmt.CREATE` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Body `application/json` - JSON Object - **resourceIds** `array` *(Optional)*: Array of resource IDs to scan. If empty, scans all systems. ### Sample Request ```curl curl --request POST \ --url https://appdomain/dcapi/patch/systems/scanSystems \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \ --header 'content-type: application/json' \ --data '{"resourceIds":[301,302,303]}' ``` ### Sample Request Body Scan specific systems by resource ID ```json { "resourceIds": [ 301, 302, 303 ] } ``` ## Response Parameters ### HTTP Code 200 Response Body — `application/json` - JSON Object - **status** `string`: Scan operation result message - **scannedCount** `string`: Number of systems for which scan was initiated ### Possible Response Codes - **200**: HTTP code ### Sample Response: HTTP 200 Scan initiated for 3 systems ```json { "scannedCount": 3, "status": "Scan initiated successfully" } ``` ## 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.