---
title: "Update User Feature Flag"
method: PUT
path: "/admin/users/{user_id}/feature-flags/{flag}"
tags: ["admin_user_feature_flags"]
---

# Update User Feature Flag

`PUT /admin/users/{user_id}/feature-flags/{flag}`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/users/{user_id}/feature-flags/{flag}`
- Auth: OAuth 2 (password, token URL `api/login`)

## Path parameters

- `user_id` string, required
- `flag` 'assignment_editor_v3', required

## Request body

- UserFeatureFlagUpdate
  - `enabled` boolean, required

## Response `200`

Successful Response

- UserFeatureFlagsResponse
  - `user_id` string, required
  - `feature_flags` string[], required

## Other responses

- `404`: Resource not found
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-22** `401600beea76`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/users/:user_id/feature-flags/:flag/put.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
