Retire a process flow
DELETE/process-flows/:flowId
Idempotent: retiring an already retired flow is a 204 again and does NOT republish. The first retirement raises ProcessFlowRetired, the full state with status RETIRED and the next version. A retired flow cannot be revised, and its paths may be deactivated again.
Request
Responses
- 204
- 404
- 409
- 500
Flow retired (or already was)
No process flow exists with this id (flow-not-found)
concurrent-modification: another request committed a change to this flow between the caller's load and this write (ADR 0017).
An unexpected error (problem type internal-error): a storage or other infrastructure failure, or a recovered panic. On POST /process-paths a 5xx is never stored under the Idempotency-Key, so a retry with the same key runs again.