// Lifecycles

Update a lifecycle phase

Update name, requirements, or environments of a phase.

PUT/api/lifecycle/phase

Description

Updates a phase. Pass only the fields you want to change. If environments is set, it fully replaces the phase's environments.

Parameters

NameInTypeRequiredDescription
lifecycleId body string yes ID of the lifecycle.
phaseId body string yes ID of the phase.
name body string no New name.
description body string no New description.
sortOrder body number no New position.
progressRequirement body string no New progress requirement.
progressRequirementCount body number no New required count.
progressRequirementErrorMode body string no New error mode.
environments body array<object> no Replacement environment list.

Errors

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