Delete a workflow definition variable

Delete a workflow definition variable. To delete a workflow definition variable, you must register with SimWorkflow and have a valid Personal Access Token to authenticate requests.

Request syntax

DELETE /workflow-definitions/${WORKFLOW_DEFINITION_ID}/variables/${VARIABLE_NAME} 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.

Errors

See also general errors.

cURL example: delete a workflow definition variable value

DELETE /workflow-definitions/0NRnuLkcXGPHmtV5qLUErk/variables/current_year

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

RESPONSE

HTTP/1.1 200 OK