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

Request

  • Base URL
    https://workflows-definition.sls.epilot.io
  • URL
    https://workflows-definition.sls.epilot.io/v1/workflows/definitions/{definitionId}/closing-reasons
  • Auth
    HTTP bearer

Path parameters

definitionIdstring required

ID of a workflow definition

Request body

Example request

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

Response

closing reasons are set for this workflow

Changes

No recorded changes to this operation across all 21 revisions of this API.