Modifying a APD task.
post /api/1.4/patch/modifyAPDTask
https://{serverurl}/api/1.4/patch/modifyAPDTask
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Name of the existing APD task to modify
Modified task settings
curl --request POST \
--url https://appdomains/api/1.4/patch/modifyAPDTask \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--data '{"taskname":"windows create task"}'Modify an APD Task settings
{
"settings": {
"target_list": "Local Office",
"templateName": "Deploy any time at the earliest",
"target_type": "REMOTE_OFFICE"
},
"taskname": "windows create task"
}
Action identifier: modifyAPDTask
Modify result payload
Modify action result
Action result message (e.g., task has been deleted/resumed/suspended/modified successfully)
API version: 1.4
Overall operation status: success
Error code: APD_TASK_NOT_FOUND for task name mismatch, APD_ACTION_FAILED for action failures
Error type: APD_TASK_NOT_FOUND or APD_ACTION_FAILED
Detailed failure reason: task not found, task already in target state, or insufficient permissions
APD task modified successfully
{
"message_type": "modifyAPDTask",
"message_response": {
"modifyapdtask": {
"status": "task1 task modified successfully"
}
},
"message_version": "1.4",
"status": "success"
}
APD task with the given name does not exist
{
"error_description": "The specified APD task was not found",
"error_code": "APD_TASK_NOT_FOUND",
"error": "APD_TASK_NOT_FOUND"
}
![]()
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.