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.
- Attach an approval procedure: With a non-empty approval_procedure_id, the procedure must be a named approval procedure in the workflow’s team.
- Remove the approval procedure: An empty approval_procedure_id removes the workflow’s approval procedure.
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.
Moves the workflow to the access package of this name. Omit to leave it unchanged; send an empty string to move it to the team's default package. The move is saved as a draft and takes effect when the workflow is published. Ignored for teams without access packages.
Response
Success

