v2

latestOpenAPI 3.0.02026-07-31226285.0 KB
Workflows

setWorkflowClosingReasons

Sets which closing reasons are defined for this workflow, based on the entire closing reasons catalog.

patch/v1/workflows/definitions/{definitionId}/closing-reasons

Path parameters

definitionIdstring required

ID of a workflow definition

Request body

Example request

{
  "reasons": [
    {
      "id": "x739cew"
    }
  ]
}

Response

closing reasons are set for this workflow