Docs

Delete Workflow Step

Remove a step from the workflow's draft. meta.deletedStepIds lists every step removed. Send the revision you last read in If-Match; the response's meta.revision is the new one.

DEL

Path

Path parameters
stringrequired

The workflow's id.

stringrequired

The step's id, from List Workflow Steps.

Headers

Optional headers
stringrequired

Required. The draft revision you last read (the revision from Get Workflow Definition, or meta.revision from your last change). The change applies only if nobody changed the draft since: otherwise it answers 412 with the current revision in error.details.revision. Send it as a strong entity tag ("r_..."): a weak one (W/"...") never matches and answers 412. Without it the request answers 428.

string

Optional. The id of a child organization of your API key's company to act on. Leave it out to act on the key's own company. See Child organizations.

Query

Arguments
string

true to remove the steps inside this one too.

true also removes the steps inside this one. false, the default, refuses a step that holds others.

Default: false

  • true
  • false

Response fields

idstring

The id of the resource that was deleted.