Enable a workflow definition
Enable a disabled workflow definition.
Request syntax
PUT /workflow-definitions/${WORKFLOW_DEFINITION_ID}/enable HTTP/1.1
Host: api.simworkflow.com
Authorization: Bearer ${PERSONAL_ACCESS_TOKEN}
Request headers
Authorization |
|
---|
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: enable a workflow definition
PUT /workflow-definitions/0NRnuLkcXGPHmtV5qLUErk/enable
curl \
--request "PUT" \
--header "Authorization: Bearer ${PERSONAL_ACCESS_TOKEN}" \
--url "https://api.simworkflow.com/workflow-definitions/0NRnuLkcXGPHmtV5qLUErk/enable"
RESPONSE
HTTP/1.1 200 OK