Update a Compliance Orchestrator workflow's status
Moves a workflow between DRAFT and ACTIVE. A workflow must be ACTIVE before POST /v1/compliance/orchestrator/screenings will accept a screening against it. Returns the workflow’s id and new status, not its full configuration.
PATCH
TypeScript
Headers
Body
application/json
Request to change a workflow's status.
A workflow's status, which controls whether it can be screened against.
DRAFT— the editing state. Rules can be changed while nothing is screening against them, so a screening never runs against a half-finished configuration.ACTIVE—POST /v1/compliance/orchestrator/screeningsaccepts screenings against this workflow.
Available options:
ACTIVE, DRAFT Example:
"ACTIVE"
Response
Workflow status updated
The workflow's status after the update.
A workflow's status, which controls whether it can be screened against.
DRAFT— the editing state. Rules can be changed while nothing is screening against them, so a screening never runs against a half-finished configuration.ACTIVE—POST /v1/compliance/orchestrator/screeningsaccepts screenings against this workflow.
Available options:
ACTIVE, DRAFT Example:
"ACTIVE"