Initiate Patch Scan on Selected or All Computers Deprecating soon Performs a patch scan on selected computers or all computers managed by the Endpoint Central server.
This API endpoint is deprecating soon
Request URL https://{server-hostname}:8383/api/1.4/patch/computers/scan
Scope
Header Authorization: d92d4xxxxxxxxxxxxx15f52
- Request Body application/json JSON Object
Hide Sub-Attributes resourceids array Optional
List of resource IDs to scan. If empty, scans all systems.
Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request POST \
--url https://appdomain/api/1.4/patch/computers/scan \
--header 'Authorization: d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--data '{"resourceids":[301,302,303]}'import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.io.IOException;
import java.net.http.HttpTimeoutException;
public class Main {
public static void main(String[] args) {
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://appdomain/api/1.4/patch/computers/scan"))
.header("content-type", "application/json")
.header("Authorization", " d92d4xxxxxxxxxxxxx15f52")
.method("POST", HttpRequest.BodyPublishers.ofString("{\"resourceids\":[301,302,303]}"))
.build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
import http.client
conn = http.client.HTTPSConnection("appdomain")
payload = "{\"resourceids\":[301,302,303]}"
headers = {
'content-type': "application/json",
'Authorization': " d92d4xxxxxxxxxxxxx15f52"
}
conn.request("POST", "/api/1.4/patch/computers/scan", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
headersMap = Map();
headersMap.put("Content-Type", "application/json");
headersMap.put("Accept", "application/json");
data=Map();
data_resourceids=List();
data.put("resourceids",data_resourceids);
response = invokeUrl
[
url: "https://appDomain/api/1.4/patch/computers/scan"
type: POST
headers: headersMap
body: data
connection: connection_name
]
info response;
$headers=@{}
$headers.Add("content-type", "application/json")
$headers.Add("Authorization", " d92d4xxxxxxxxxxxxx15f52")
$response = Invoke-WebRequest -Uri 'https://appdomain/api/1.4/patch/computers/scan' -Method POST -Headers $headers -ContentType 'application/json' -Body '{"resourceids":[301,302,303]}'Sample Request Body Scan selected computers by resource IDs
Copied!
{
"resourceids": [
301,
302,
303
]
}
▼ Show full
Response Parameters - HTTP code 200 Response Body - application/json JSON Object
Hide Sub-Attributes message_type string
Action identifier: computers
message_response JSON Object
Response payload containing scan result
Show Sub-Attributes computers JSON Object
Show Sub-Attributes status string
Scan operation result message (e.g., Scan initiated successfully)
message_version string
API version string (e.g., 1.4)
status string
Overall operation status: success
- HTTP code 400 Response Body - application/json JSON Object
Hide Sub-Attributes error_code string
Error code: PATCH_SCAN_FAILED_CODE for scan failures
error string
Error type: PATCH_SCAN_FAILED
error_description string
Detailed failure reason: invalid resources, no managed computers, or scan already in progress
Possible Response Codes Sample Response: HTTP 200 Scan started for selected systems
Copied!
{
"message_type": "computers",
"message_response": {
"computers": {
"status": "Scan initiated successfully"
}
},
"message_version": "1.4",
"status": "success"
}
▼ Show full
Sample Response: HTTP 400 Resource IDs are invalid or not parseable
Copied!
{
"error_description": "Provided Resource list is not valid",
"error_code": "PATCH_SCAN_FAILED_CODE",
"error": "PATCH_SCAN_FAILED"
}
▼ Show full
Scan requires at least one resource ID
Copied!
{
"error_description": "Scan operation requires Resource ID.",
"error_code": "PATCH_SCAN_FAILED_CODE",
"error": "PATCH_SCAN_FAILED"
}
▼ Show full
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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.