Skip to content

Cancel an open workflow task. This endpoint supports single and multi-record workflows.

POST/api/{version}/objects/objectworkflows/tasks/{task_id}/actions/cancel
NameDescription
Content-Typeapplication/json or application/x-www-form-urlencoded
Acceptapplication/json (default) or application/xml
NameDescription
{task_id}The task id field value.
curl -X POST -H "Authorization: {SESSION_ID}" \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ https://myvault.veevavault.com/api/v25.2/objects/objectworkflows/tasks/7102/actions/cancel
{ "responseStatus": "SUCCESS" }

Returns SUCCESS if the task was canceled successfully.