Workflows and apps
Delete a workflow
Archive a workflow or app you own, at the version you read.
POST
https://cloud.generalinput.com/v1/workflows/:id/deleteAuthenticationRequires
workflows:manage on a personal API key. A CLI session always passes.Owner only, and at the version the caller read. Apps are workflows here, so this deletes them too. The resource is archived, not hard-deleted.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
version | integer | yes | The workflow's current version, as get returns it. |
Response
204 No Content.
Errors
| Status | When |
|---|---|
404 | Not found, or the caller is not the owner. |
409 | The workflow moved on since version was read. Refetch and retry. |