Endpoint
This updates workflow metadata only. To update the definition (steps), use Create Version.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
workflowID | string | Yes | Workflow UUID or slug |
Request Body
All fields are optional. Only the fields you provide will be updated.| Field | Type | Description |
|---|---|---|
name | string | Updated workflow name |
description | string | Updated description |
categories | string[] | Updated category slugs |
locked | boolean | Lock/unlock the workflow |
production | boolean | Mark as production |
Code Examples
Response
Returns the updated WorkflowDetail object.Error Responses
| Status | Body | Description |
|---|---|---|
400 | {"error": "invalid request body"} | Malformed request |
401 | {"error": "Invalid or missing API key"} | Authentication failure |
403 | {"error": "Workflow is locked"} | Cannot modify a locked workflow |
404 | {"error": "workflow not found"} | Invalid workflow ID |