// Lifecycles

Update a lifecycle

Update a lifecycle's name, description, or phase list.

PUT/api/lifecycle

Description

Update lifecycle metadata. If phases is provided it fully replaces the existing phase list (and validates each environment ID against the workspace).

Parameters

NameInTypeRequiredDescription
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

StatusMeaning
400 Invalid lifecycleId or validation failure.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.