Skip to main content

Force a workflow to complete.

POST/api/v1/workflows/{workflow_id}/force-completeworkflows:manage

Cancels every request nobody has answered yet, so the workflow completes. Cannot be undone.

Scopeworkflows:manage
AsynchronousNo
MCP toolforce_complete_workflow
Portal permissionsforce_complete_workflows

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Responses​

StatusDescriptionBody
200Success.application/json WorkflowForceComplete
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

WorkflowForceComplete​

FieldTypeRequiredDescription
action_requests_cancelledintegerRequired≥ -2147483648; ≤ 2147483647
workflow_idstringRequired