---
title: "Changes to Create a feature flag"
method: POST
path: "/v3/feature-flags"
---

# Changes to Create a feature flag

`POST /v3/feature-flags`

> Every recorded change to this operation, newest first.
> 12 revisions in range; 1 not diffed.

## Timeline

Changed in 3 of 12 revisions.

- **2026-08-18** `66dcb6293180`: 1 breaking
- **2026-08-06** `ec1259c12475`: 10 breaking, 1 warning, 7 info
- **2024-07-29** `68856b660d76`: 5 breaking, 1 warning, 2 info

## Changes

- **2026-08-18** `66dcb6293180`: 1 breaking
  - added the pattern `^(?!\s)(?![\s\S]*\s$)(?:[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]|[\t\n\r])+$` to the request property `description`
- **2026-08-06** `ec1259c12475`: 10 breaking, 1 warning, 7 info
  - added the new required request property `description`
  - added the new required request property `name`
  - added the new required request property `productId`
  - the request's body type changed from no type to `object`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `400`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `401`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `403`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `409`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `429`
  - the `message` response property's minLength was decreased from `1` to `0` for the response status `500`
  - removed `#/components/schemas/FeatureFlagRequestModel, subschema #2` from the request body `allOf` list
  - endpoint deprecated
  - the response property `createdAt` became required for the status `201`
  - the response property `description` became required for the status `201`
  - the response property `id` became required for the status `201`
  - the response property `name` became required for the status `201`
  - the response property `productId` became required for the status `201`
  - the response property `updatedAt` became required for the status `201`
- **2024-07-29** `68856b660d76`: 5 breaking, 1 warning, 2 info
  - request body became required
  - removed the media type `application/*+json` from the request body
  - removed the media type `text/json` from the request body
  - the `allOf[subschema #2]/` request property type changed from no type to `object`
  - removed the media type `text/json` for the response with the status `201`
  - deleted the `header` request parameter `Authorization`
  - api operation id `post/v3/feature-flags` removed and replaced with `CreateFeatureFlag`
  - the endpoint scheme security `JWT` was added to the API

---

[Operation](https://skmtc.dev/cryptlex/apis/cryptlex-web-api/docs/v3/feature-flags/post.md) - [API](https://skmtc.dev/cryptlex/apis/cryptlex-web-api.md) - [Page](https://skmtc.dev/cryptlex/apis/cryptlex-web-api/changes/v3/feature-flags/post)
