---
title: "Update Pipeline"
method: POST
path: "/console/v1/release_pipelines/{id}"
tags: ["Release Pipelines"]
---

# Update Pipeline

`POST /console/v1/release_pipelines/{id}`

## Path parameters

- `id` string, required

## Request body

- ReleasePipelineUpdateDto
  - `name` string — Pipeline Name
  - `phases` object[] — Phases of the release pipeline that will be executed in order.
    - `id` string — Phase ID
    - `name` string, required — Phase Name
    - `timeIntervalMs` number, required — Time interval in milliseconds for this phase
    - `requiredReview` boolean, required — Whether this phase requires review to proceed
    - `rules` object[], required — Rules to apply in this phase
      - `id` string — The Statsig ID of this rule.
      - `name` string, required — The name of this rule.
      - `conditions` object[], required — An array of Condition objects.
        - `targetValue` union
          - string[]
          - number[]
          - string
          - number
        - `operator` string
        - `field` string, nullable
        - `customID` string, nullable
        - `type` 'app_version' | 'browser_name' | 'browser_version' | 'country' | 'custom_field' | 'email' | 'environment_tier' | 'fails_gate' | 'fails_segment' | 'ip_address' | 'locale' | 'os_name' | 'os_version' | 'passes_gate' | 'passes_segment' | 'public' | 'time' | 'unit_id' | 'user_id' | 'user_agent' | 'url' | 'javascript' | 'device_model' | 'target_app' | 'experiment_group', required
      - `environments` string[], nullable — The environments this rule is enabled for.
  - `triggerNotice` string, nullable — A notice that will be displayed to the user on the config page when the release pipeline is triggered

## Response `200`

Update pipeline

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — A single result.
    - `id` string, required — Pipeline ID
    - `name` string, required — Pipeline Name
    - `creatorID` string, required — Pipeline Creator ID
    - `createdTime` number, double, required — Pipeline Creation Time
    - `lastModifierID` string, required — Last Modifier ID
    - `lastModifiedTime` number, double, required — Last Modification Time
    - `phases` object[] — Phases of the release pipeline that will be executed in order.
      - `id` string — Phase ID
      - `name` string, required — Phase Name
      - `timeIntervalMs` number, required — Time interval in milliseconds for this phase
      - `requiredReview` boolean, required — Whether this phase requires review to proceed
      - `rules` object[], required — Rules to apply in this phase
        - `id` string — The Statsig ID of this rule.
        - `name` string, required — The name of this rule.
        - `conditions` object[], required — An array of Condition objects.
          - `targetValue` union
            - string[]
            - number[]
            - string
            - number
          - `operator` string
          - `field` string, nullable
          - `customID` string, nullable
          - `type` 'app_version' | 'browser_name' | 'browser_version' | 'country' | 'custom_field' | 'email' | 'environment_tier' | 'fails_gate' | 'fails_segment' | 'ip_address' | 'locale' | 'os_name' | 'os_version' | 'passes_gate' | 'passes_segment' | 'public' | 'time' | 'unit_id' | 'user_id' | 'user_agent' | 'url' | 'javascript' | 'device_model' | 'target_app' | 'experiment_group', required
        - `environments` string[], nullable — The environments this rule is enabled for.
    - `triggerNotice` string — A notice that will be displayed to the user on the config page when the release pipeline is triggered

---

[API](https://skmtc.net/statsig/apis/console-api.md) · [All operations](https://skmtc.net/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/statsig/console-api/versions/3189f450c93b/schema)
