Adds machines (by serial number, MAC address, IP, and subnet) as targets of the deployment task.
put /emsapi/osdeployer/tasks/{taskId}/targets
https://{serverurl}/emsapi/osdeployer/tasks/{taskId}/targets
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
ID of the OS Deployment task
A single deployment target.
Machine identifier — serial number or MAC address. Required; omitting returns SERIAL_OR_MAC_INVALID.
IPv4 address of the target machine, dotted-quad format. If provided, subnetMask is also required.
IPv4 subnet mask, dotted-quad format. Required when ipAddress is provided.
Free-form description of the target (e.g., physical location).
curl --request PUT \
--url https://appdomains/emsapi/osdeployer/tasks/{taskId}/targets \
--header 'Accept: application/deploymentTaskTargetAddedStatus.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/deploymentTaskTargetDetails.v1+json' \
--data '[{"serialOrMAC":"AA:BB:CC:11:22:33"},{"serialOrMAC":"AA:BB:CC:11:22:34"}]'Attach two targets to a task
[
{
"targetDescription": "Sales floor row 1",
"serialOrMAC": "AA:BB:CC:11:22:33",
"ipAddress": "10.0.10.21",
"subnetMask": "255.255.255.0"
},
{
"targetDescription": "Sales floor row 2",
"serialOrMAC": "AA:BB:CC:11:22:34",
"ipAddress": "10.0.10.22",
"subnetMask": "255.255.255.0"
}
]
True if targets were successfully added.
Number of targets successfully added.
Number of targets that could not be added.
Three targets added successfully
{
"failedTargetsCount": 0,
"isTargetAdded": true,
"addedTargetsCount": 3
}
![]()
Duration: 1 minute | Threshold: 50 | 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.