---
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` 'any' | 'none' | 'any_case_sensitive' | 'none_case_sensitive' | 'str_contains_any' | 'str_contains_none' | 'gt' | 'lt' | 'lte' | 'gte' | 'version_gt' | 'version_lt' | 'version_gte' | 'version_lte' | 'version_eq' | 'after' | 'before' | 'on' | 'is_null' | 'is_not_null' | 'str_matches' | 'encoded_any' | 'array_contains_any' | 'array_contains_none' | 'array_contains_all' | 'not_array_contains_all'
        - `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` 'any' | 'none' | 'any_case_sensitive' | 'none_case_sensitive' | 'str_contains_any' | 'str_contains_none' | 'gt' | 'lt' | 'lte' | 'gte' | 'version_gt' | 'version_lt' | 'version_gte' | 'version_lte' | 'version_eq' | 'after' | 'before' | 'on' | 'is_null' | 'is_not_null' | 'str_matches' | 'encoded_any' | 'array_contains_any' | 'array_contains_none' | 'array_contains_all' | 'not_array_contains_all'
          - `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

## Changes

- **2026-08-26** `1fd471fa03cc` — 1 breaking, 26 warning, 26 info
  - request property `phases/items/rules/items/conditions/items/operator` was restricted to a list of enum values
  - added the new `after` enum value to the `allOf[subschema #2]/data/phases/items/rules/items/conditions/items/operator` response property for the response status `200`
  - added the new `any` enum value to the `allOf[subschema #2]/data/phases/items/rules/items/conditions/items/operator` response property for the response status `200`
  - added the new `any_case_sensitive` enum value to the `allOf[subschema #2]/data/phases/items/rules/items/conditions/items/operator` response property for the response status `200`
  - …49 more

[Change history](https://skmtc.dev/statsig/apis/console-api/changes/console/v1/release_pipelines/:id/post.md)

---

[API](https://skmtc.dev/statsig/apis/console-api.md) · [All operations](https://skmtc.dev/statsig/apis/console-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/statsig/console-api/revisions/1fd471fa03cc/schema)
