---
title: "Create a feature flag"
method: POST
path: "/v3/feature-flags"
tags: ["FeatureFlags"]
deprecated: true
---

# Create a feature flag

`POST /v3/feature-flags`

> **Deprecated.**

Creates a new feature flag.

## Request body

- FeatureFlagCreateRequestModel
  - `name` string, required — Name of the feature flag.
  - `description` string, required — Description for the feature flag.
  - `productId` string, required — Unique identifier for the product.

## Response `201`

Created

- 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
- `409` — Conflict
- `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/revisions/ec1259c12475/schema)
