Reorder pipeline stages
Sets the order in which a pipeline’s stages run, in one change. The request lists every stage of the pipeline exactly once.
/project/{project_id}/environment/{environment_id}/pipelines/{pipeline_id}/stages/reorderAuthorizationBearer token (JWT) · headerrequiredJWT token passed in the Authorization header using the Bearer <token> format.
project_iduuidrequiredThe unique identifier for the project
environment_iduuidrequiredThe unique identifier of the environment
pipeline_iduuidrequiredThe unique identifier for the pipeline
application/jsonstagesreorder_pipeline_stage_item[]requiredShow propertiesHide properties
reorder_pipeline_stage_itemstage_iduuidrequiredA universally unique identifier (UUID) string
execution_orderintegerrequiredPipeline stages reordered successfully
pipeline_stageiduuidrequiredA universally unique identifier (UUID) string
pipeline_iduuidrequiredA universally unique identifier (UUID) string
namestringrequireddescriptionstringexecution_orderintegerrequiredon_failurepipeline_stage_failure_policyrequiredDescribes how the pipeline should behave after a stage failure.
STOP_PIPELINECONTINUE_PIPELINEcomponentspipeline_stage_component[]requiredShow propertiesHide properties
pipeline_stage_componentiduuidrequiredA universally unique identifier (UUID) string
stage_iduuidrequiredA universally unique identifier (UUID) string
component_iduuidrequiredA universally unique identifier (UUID) string
component_kindcomponent_kindrequiredComponent kind for component-scoped variables
KjobKApplicationKHelmKDatabaseis_requiredbooleanrequiredtimeout_secondsinteger | nullcreated_atstring<date-time>requiredcreated_atstring<date-time>requiredupdated_atstring<date-time>requiredError
codeinteger<int32>requiredmessagestringrequiredreasonstringOptional stable machine-readable reason for programmatic error handling