Update workflow

http
PATCH /projects/{project_reference}/workflows/{workflow_id}

Change the description, version or schedulable flag of a structured workflow, where an omitted field keeps its value; returns the updated workflow source document. Requires project.runs.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
workflow_idpathYes
source_target_kindquery
target_branch_idquery

Request body

FieldTypeRequiredDescription
descriptionstring,nullUpdated workflow description.
versionstring,nullUpdated workflow version string.
schedulablebooleanUpdated schedulable flag for the workflow definition.

Responses

StatusDescription
200Updated workflow document
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.