Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Unleash Feature Types API

Manage [feature flag types](https://docs.getunleash.io/concepts/feature-flags#feature-flag-types).

Unleash Feature Types API is one of 36 APIs that Unleash publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Feature Types. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.0.3, at version 7.4.1.

Requests are made against a single base URL, https://app.unleash-instance.example.com.

2 operations 2 paths 3 schemas 1 GET1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
7.4.1
Base URL
https://app.unleash-instance.example.com
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Unleash Feature Types API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKey). It accepts HTTP bearer tokens (bearerToken). By default, every request must be authenticated.

  • apiKey — API key needed to access this API
  • bearerToken — API key needed to access this API, in Bearer token format

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Feature Types 2

Manage [feature flag types](https://docs.getunleash.io/concepts/feature-flagsfeature-flag-types).

GET
/api/admin/feature-types
Get All Feature Types
getAllFeatureTypes → 200401
PUT
/api/admin/feature-types/{id}/lifetime
Update Feature Type Lifetime
updateFeatureTypeLifetime 1 param body → 200400401403404409415

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are featureTypeSchema (4 properties), featureTypesSchema (2 properties), updateFeatureTypeLifetimeSchema (1 property). Each schema is shown below with its type and property counts.

featureTypesSchema
object
A list of [feature flag types](https://docs.getunleash.io/concepts/feature-flagsfeature-flag-types) and the schema version used to represent those feature type…
2 properties 2 required
updateFeatureTypeLifetimeSchema
object
Data used when updating the lifetime of a [feature flag type](https://docs.getunleash.io/concepts/feature-flagsfeature-flag-types).
1 property 1 required
featureTypeSchema
object
A [feature flag type](https://docs.getunleash.io/concepts/feature-flagsfeature-flag-types).
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

unleash-feature-types-api-openapi.yml Raw ↑

Other APIs Unleash publishes across the network.

Unleash Client API
Unleash Addons API
Unleash Admin UI API
Unleash API tokens API
Unleash Archive API
Unleash Auth API
Unleash Banners API
Unleash Change Requests API
Unleash Context API
Unleash Dependencies API
Unleash Environments API
Unleash Events API