Skip to main content

Deactivate (retire) a process path

DELETE 

/process-paths/:pathId

Idempotent: deactivating an already-deactivated path is a no-op success and does NOT republish ProcessPathDeactivated. Publishes ProcessPathDeactivated the first time a path transitions to Deactivated. A path that any site's CPT schedule still lists in a cutoff's eligiblePathIds cannot be deactivated (ADR 0026): the request is refused with 409 path-referenced-by-cpt-schedule, naming the sites, and nothing changes — revise those schedules first. A path that an ACTIVE process flow has a stage on cannot be deactivated either (ADR 0042): 409 path-in-active-flow, naming the flows — revise or retire those flows first. This service takes no position on work already assigned to this path in a downstream context — that is each consumer's own operational concern.

Request​

Responses​

Path deactivated (or already was)