Skip to main content
PUT
Update Workflow

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.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the workflow.

Body

application/json
name
string

The name of the workflow.

description
string

A description of the workflow.

requireFormConfirmation
boolean | null

Whether the workflow requires form confirmation. Omit to leave unchanged.

content
string

The content/code of the workflow.

isPublished
boolean | null

Whether the workflow is published. Set to true to publish the workflow.

tagIds
tag_ids · object

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.

showInServiceCatalog
boolean | null

Whether to list this workflow in the Service Catalog. Omit to leave unchanged.

serviceCatalogDescription
string | null

Description shown at the top of the Service Catalog run form. Omit to leave unchanged; send an empty string to clear it.

approvalProcedureId
string | null

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

200 - application/json

Success

data
data · object

The updated workflow.