Delete Workflow
Endpoint: DELETE /api/workflow/{workflowId}/remove
Deletes a workflow execution from the server using the workflow ID.
Path parameters
Parameter | Description | Type | Required/ Optional |
---|---|---|---|
workflowId | The execution ID of the workflow to be deleted. | string | Required. |
Query parameters
Parameter | Description | Type | Required/ Optional |
---|---|---|---|
archiveWorkflow | Note: This parameter is deprecated. There is no effect when configured. If set to true, the workflow will be archived instead of permanently deleted. | boolean | Optional. |
Examples
Delete workflow execution
Request
curl -X 'DELETE' \
'https://<YOUR_CLUSTER>/api/workflow/373eabef-b846-11ef-b090-be4a9a728270/remove' \
-H 'accept: */*' \
-H 'X-Authorization: <TOKEN>'
Response
Returns 200 OK, indicating that the workflow has been deleted successfully.