stop a workflow

Changed on
post/api/v1/workflow/stop

Request

  • Base URL
    http://petstore.swagger.io/v2
  • Auth
    none declared

Request body

workflowIdstring required
workflowRunIdstring
reasonstring
stopType'CANCEL' | 'TERMINATE' | 'FAIL'

Example request

{
  "reason": "reason",
  "stopType": null,
  "workflowRunId": "workflowRunId",
  "workflowId": "workflowId"
}

Response

successful operation

Changes

    • warning

      added the new LONG_POLL_TIME_OUT_SUB_STATUS enum value to the response property for the response status

    • warning

      added the new WORKER_API_ERROR enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status