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

# Update a feature control status

`PUT /api/feature-control/status`

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

## Headers

- `x-cdp-request-id` string

## Request body

- PutFeatureControlStatusRequest
  - `name` string, required
  - `status` 'active' | 'expired' | 'withdrawn', required
  - `user` string, required
  - `note` string, required

## Response `202`

Accepted - Feature control status updated.

## Other responses

- `400` — Bad Request - Validation error (e.g., status not valid).
- `401` — Unauthorized.
- `404` — Not Found - Feature control does not exist.

---

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