v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Features

Validate a feature flag name.

Validates a feature flag name: checks whether the name is URL-friendly and whether a feature with the given name already exists. Returns 200 if the feature name is compliant and unused.

post/api/admin/features/validate

Request body

namestring required

The feature name to validate.

projectIdstring nullable

The id of the project that the feature flag will belong to. If the target project has a feature naming pattern defined, the name will be validated against that pattern.

Example request

{
  "name": "my-feature-3",
  "projectId": "project-y"
}

Response

This response has no body.