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 stringrequired

    The feature name to validate.

    Example: my-feature-3
    projectId stringnullable

    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: project-y

Responses

This response has no body.

Loading...