---
title: "Update Feature Flag"
method: PUT
path: "/api/v1/admin/feature-flags/{feature_flag_id}"
tags: ["Admin APIs", "feature-flags"]
---

# Update Feature Flag

`PUT /api/v1/admin/feature-flags/{feature_flag_id}`

## Path parameters

- `feature_flag_id` string, required

## Request body

- FeatureFlagUpdate
  - `name` string, nullable
  - `value` string, nullable
  - `is_active` boolean, nullable
  - `product_ids` string[], nullable
  - `value_type` 'any' | 'boolean' | 'integer' | 'string' | 'json'

## Response `200`

Successful Response

- FeatureFlagRead
  - `name` string, required
  - `value` string, required
  - `is_active` boolean
  - `is_global` boolean
  - `value_type` 'any' | 'boolean' | 'integer' | 'string' | 'json'
  - `id` string, uuid4, required
  - `product_ids` string[]
  - `is_boolean` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
