Skip to main content

Get all feature types

GET /api/admin/feature-types

Retrieves all feature types that exist in this Unleash instance, along with their descriptions and lifetimes.

Request

Responses

featureTypesSchema

Schema
  • version integer required

    Possible values: [1]

    The schema version used to describe the feature toggle types listed in the types property.

  • types object[]required

    The list of feature toggle types.

  • Array [
  • id string required

    The identifier of this feature toggle type.

  • name string required

    The display name of this feature toggle type.

  • description string required

    A description of what this feature toggle type is intended to be used for.

  • lifetimeDays integer nullable required

    How many days it takes before a feature toggle of this typed is flagged as potentially stale by Unleash. If this value is null, Unleash will never mark it as potentially stale.

  • ]
Loading...