---
title: "Update Holdout Overrides"
method: POST
path: "/console/v1/holdouts/{id}/overrides"
tags: ["Holdouts"]
---

# Update Holdout Overrides

`POST /console/v1/holdouts/{id}/overrides`

## Path parameters

- `id` string, required

## Request body

- union — Contract for updating overrides
  - object — Contract for updating environment overrides
    - `environmentOverrides` object[], required
      - `environment` string, nullable — Environment
      - `unitID` string, nullable, required — Unit ID
      - `passingIDs` string[], required — List of passing IDs
      - `failingIDs` string[], required — List of failing IDs
  - object — Contract for updating ID overrides
    - `passingUserIDs` string[], required — List of user IDs
    - `failingUserIDs` string[], required — List of user IDs
    - `passingCustomIDs` string[] — Optional list of custom IDs
    - `failingCustomIDs` string[] — Optional list of custom IDs

## Response `200`

Update Holdout Overrides Success

- object
  - `message` string, required — A simple string explaining the result of the operation.
  - `data` object, required — Contract for overrides
    - `passingUserIDs` string[], required — List of user IDs
    - `failingUserIDs` string[], required — List of user IDs
    - `passingCustomIDs` string[] — Optional list of custom IDs
    - `failingCustomIDs` string[] — Optional list of custom IDs
    - `environmentOverrides` object[], required
      - `environment` string, nullable — Environment
      - `unitID` string, nullable, required — Unit ID
      - `passingIDs` string[], required — List of passing IDs
      - `failingIDs` string[], required — List of failing IDs

## Other responses

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

---

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