Abort Workflow for a file/folder

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

This API aborts an active workflow instance.
Use this when you want to terminate a workflow that is currently in progress. Once aborted, the instance cannot be resumed.

Endpoints

OAuth Scope

WorkDrive.workflowinstances.DELETECopied!

Request Example

cURL
cURL
Deluge
Copied!
curl --request DELETE \
  --url https://www.zohoapis.com/workdrive/api/v1/workflowinstances/{instance_id} \
  --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'

Path Parameters

instance_idstring(Required)

The unique ID of the workflow instance to be aborted.

Response Example

R008

AT025

204
204
401
500
Copied!
204 No Content
  {
    "errors": [
      {
        "id": "R008",
        "title": "Unauthorized access"
      }
    ]
  }
                
  {
    "errors": [
      {
        "id": "AT025",
        "title": "No active instances present for the resource"
      }
    ]
  }
                
Show full