Description
Update lifecycle metadata. If phases is provided it fully replaces the existing phase list (and validates each environment ID against the workspace).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
lifecycleId |
body | string | yes | ID of the lifecycle. |
name |
body | string | no | New name. |
description |
body | string | no | New description. |
phases |
body | array<object> | no | Replacement phase list (optional). |
Errors
| Status | Meaning |
|---|---|
400 |
Invalid lifecycleId or validation failure. |
401 |
Missing or invalid Basic auth credentials, or the service account lacks the required role. |