---
title: "Update a feature flag"
method: PATCH
path: "/v3/feature-flags/{id}"
tags: ["FeatureFlags"]
deprecated: true
---

# Update a feature flag

`PATCH /v3/feature-flags/{id}`

> **Deprecated.**

Updates the specified feature flag by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

## Path parameters

- `id` string, required

## Request body

- FeatureFlagUpdateRequestModel
  - `name` string, nullable — Name of the feature flag.
  - `description` string, nullable — Description for the feature flag.

## Response `200`

OK

- FeatureFlagDto
  - `id` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `description` string, required
  - `productId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Server Error

---

[API](https://skmtc.net/cryptlex/apis/cryptlex-web-api.md) · [All operations](https://skmtc.net/cryptlex/apis/cryptlex-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptlex/cryptlex-web-api/versions/ec1259c12475/schema)
