---
title: "Partially Update Experiment Overrides"
method: PATCH
path: "/console/v1/experiments/{id}/overrides"
tags: ["Experiments"]
---

# Partially Update Experiment Overrides

`PATCH /console/v1/experiments/{id}/overrides`

## Path parameters

- `id` string, required

## Request body

- ExperimentOverridesDto
  - `overrides` object[], required — Array of experiment overrides, each specifying type, ID, and group ID.
    - `type` 'gate' | 'segment', required
    - `id` string, required — The id of the segment or gate
    - `groupID` string, required — The experiment group which user will be forced into
    - `environment` string, nullable — Optional environment designation (e.g., production, staging) for the experiment.
  - `userIDOverrides` object[], required — Array of user ID overrides, specifying which users to force into experiment groups.
    - `groupID` string, required — The experiment group the user will be forced into.
    - `ids` string[], required — Array of user IDs to be assigned to the specified experiment group.
    - `environment` string, nullable — Optional environment designation (e.g., production, staging) for the experiment.
    - `unitType` string, nullable — Optional type of unit for the experiment, defining the scope of the override.

## Response `200`

Partially Update Experiment Overrides Success

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — A single result.
    - `overrides` object[], required — Array of experiment overrides, each specifying type, ID, and group ID.
      - `type` 'gate' | 'segment', required
      - `id` string, required — The id of the segment or gate
      - `groupID` string, required — The experiment group which user will be forced into
      - `environment` string, nullable — Optional environment designation (e.g., production, staging) for the experiment.
    - `userIDOverrides` object[], required — Array of user ID overrides, specifying which users to force into experiment groups.
      - `groupID` string, required — The experiment group the user will be forced into.
      - `ids` string[], required — Array of user IDs to be assigned to the specified experiment group.
      - `environment` string, nullable — Optional environment designation (e.g., production, staging) for the experiment.
      - `unitType` string, nullable — Optional type of unit for the experiment, defining the scope of the override.

## Other responses

- `401` — This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
- `404` — Experiment not found.

---

[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)
