Skip to main content

Validate a feature flag name.

POST /api/admin/features/validate

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.

Request

Body

required

validateFeatureSchema

  • name string required

    The feature name to validate.

  • projectId string 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.

Responses

This response has no body.

Loading...