FeatureFlagChange

A request or response body; the type column links to the schemas it refers to.

FeatureFlagChange

FieldTypeRequiredDescription
featurestringyes

A feature of the deployment's catalogue, as listed by `GET /api/feature-flags`.

one of "quizzes" | "scorm_courses" | "job_aids" | "training_events" | "learning_pathways" | "qr_codes" | "external_lms" | "support_page" | "forums"

statestringyes

`enabled`: shown and working everywhere. `hidden`: left out of the sidebar and the dashboards, but its pages and endpoints keep working for anyone with the address. `disabled`: off — its pages answer 404, its endpoints answer 404 with the error `feature_disabled`, and it is left out of navigation, search and the calendar. Nothing is deleted; switching it back on brings everything back.

one of "enabled" | "hidden" | "disabled"

jsonExample
{
  "feature": "quizzes",
  "state": "disabled"
}