API Docs / Operations / Task Workflows / Remove Task Workflow

Remove Task Workflow

DELETE /api/tenants/{tenant}/tasks/{taskCode}/workflow

Clears all workflow step progress for a TaskItem.

Removes all workflow progress tracking:

  • Deletes all TaskItemWorkflowStep instances
  • Resets workflow progress counters to zero
  • Clears workflow reference from the task
  • Removes all step assignments and completion data

Use this endpoint to:

  • Remove workflow tracking from a task
  • Clear progress before assigning a different workflow
  • Reset workflow progress completely
  • Clean up workflow data for completed tasks

Warning: This operation cannot be undone.
All workflow progress data will be permanently lost.

After clearing, the task will have no workflow assigned
and workflow progress fields will be reset to null/zero.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

taskCode* path string

The task code from the URL

The task code from the URL

Responses

204 No Content
401 Unauthorized - Invalid or missing API key

Try it