Disable a workflow definition

Disable a workflow definition.

Request syntax

PUT /workflow-definitions/${WORKFLOW_DEFINITION_ID}/disable HTTP/1.1
Host: api.simworkflow.com
Authorization: Bearer ${PERSONAL_ACCESS_TOKEN}

Request headers

Authorization

Bearer ${PERSONAL_ACCESS_TOKEN}

Response syntax

HTTP/1.1 200 OK

Response elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

See also general errors.

cURL example: disable a workflow definition

PUT /workflow-definitions/0NRnuLkcXGPHmtV5qLUErk/disable

curl \
--request "PUT" \
--header "Authorization: Bearer ${PERSONAL_ACCESS_TOKEN}" \
--url "https://api.simworkflow.com/workflow-definitions/0NRnuLkcXGPHmtV5qLUErk/disable"

RESPONSE

HTTP/1.1 200 OK