Suspending a APD task.
This API endpoint is deprecating soon
post /api/1.4/patch/suspendAPDTask
https://{serverurl}/api/1.4/patch/suspendAPDTask
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Provide name of the apd task
Name of the APD task to suspend
curl --request POST \
--url https://appdomains/api/1.4/patch/suspendAPDTask \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/json' \
--data '{"taskname":"windows create task"}'Suspend an APD Task by name
{
"taskname": "windows create task"
}
Action identifier: suspendAPDTask
Suspend result payload
Suspend 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 suspended successfully
{
"message_type": "suspendAPDTask",
"message_response": {
"suspendapdtask": {
"status": "task has been suspended 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.