---
title: "Update a feature control value"
method: PUT
path: "/api/feature-control/value"
---

# Update a feature control value

`PUT /api/feature-control/value`

Updates the current value of a feature control for the current environment.

## Headers

- `x-cdp-request-id` string

## Request body

- PutFeatureControlValueRequest
  - `name` string, required
  - `value` union, required
    - string
    - number
    - boolean
    - string[]
    - number[]
  - `user` string, required
  - `note` string

## Response `202`

Accepted - Feature control value updated.

## Other responses

- `400` — Bad Request - Validation error (e.g., value doesn't match type).
- `401` — Unauthorized.
- `404` — Not Found - Feature control does not exist.

---

[API](https://skmtc.net/defra/apis/grants-config-broker-api.md) · [All operations](https://skmtc.net/defra/apis/grants-config-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/defra/grants-config-broker-api/versions/8af3c6dc00fe/schema)
