Update Workflow
Update an existing workflow. Fields left out of the request keep their current values. Set approval_procedure_id to the ID of a named approval procedure to require its approval before each run, or to an empty string to remove the workflow’s approval; omit it to leave approval unchanged.
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the workflow.
Body
The name of the workflow.
A description of the workflow.
Whether the workflow requires form confirmation. Omit to leave unchanged.
The content/code of the workflow.
Whether the workflow is published. Set to true to publish the workflow.
The workflow's replacement set of tags: when present, the workflow ends up with exactly the given tag ids (an empty set clears every tag). Omit to leave tags unchanged.
Whether to list this workflow in the Service Catalog. Omit to leave unchanged.
Description shown at the top of the Service Catalog run form. Omit to leave unchanged; send an empty string to clear it.
The ID of a named approval procedure that must approve each run of the workflow. Omit to leave the workflow's approval unchanged; send an empty string to remove it. Attaching requires permission to view approval procedures and removing requires permission to delete them. Requires first-class approval procedures on the team.
Response
Success
The updated workflow.

