Workflows and apps
Rename a workflow
Rename a workflow or app and set its description, at the version you read. Needs edit access.
PATCH
https://cloud.generalinput.com/v1/workflows/:id/nameAuthenticationRequires
workflows:manage on a personal API key. A CLI session always passes.Renames a workflow or app and sets its description without touching the bundle. The write names the version it read, so a concurrent edit is caught rather than overwritten.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
name | string | yes | 1 to 200 characters. |
version | integer | yes | The workflow's current version, as get returns it. |
description | string | no | Up to 2000 characters. |
Response
{ "success": true }Conflict
A 409 means the workflow moved on since version was read. Refetch it and retry with the current version.