Moves one or more workflows into trash state.To get workflow IDs use workflows list view API Get Workflows list
post /intelligence/workflow/api/flow/moveToTrash
https://{serverurl}/intelligence/workflow/api/flow/moveToTrash
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Array of workflow IDs (long) to move to trash. Max 200 items
curl --request POST \
--url https://appdomains/intelligence/workflow/api/flow/moveToTrash \
--header 'Accept: application/moveWorkflowToTrashStatusUpdate.v1+json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'Content-Type: application/moveWorkflowToTrash.v1+json' \
--data '{}'Move multiple workflows to trash
{
"workflowIds": [
101,
102,
103
]
}
Move a single workflow to trash
{
"workflowIds": [
101
]
}
Result of the operation: 'success' or 'failure'
A confirmation message about the trash operation
Error code when workflow IDs are missing
Details about what is missing in the request
Error code when you don't have permission for this workflow
Details about the permission issue
HTTP status code (500)
Internal error code identifying the server-side failure
Error message describing the server-side failure
Single workflow moved to trash
{
"message": "Workflow moved to trash successfully",
"status": "success"
}
Multiple workflows moved to trash
{
"message": "Selected workflows moved to trash successfully",
"status": "success"
}
No workflow IDs provided
{
"errorMessage": "Workflow ID not present. Provide at least one workflow ID.",
"errorCode": "BAD_REQUEST"
}
You do not have permission for this workflow
{
"errorMessage": "Workflow is not in the authorized user scope for trash operation.",
"errorCode": "UNAUTHORIZED"
}
Server error
{
"errorMessage": "An internal error occurred.",
"errorCode": "INTERNAL_ERROR"
}
![]()
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.