Passer au contenu principal
POST
Transition a feature flag to a new status.

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

The ID of the feature flag to transition.

Corps

The target lifecycle status for the feature flag.

status
enum<string>
requis

The target status to transition the feature flag to.

Options disponibles:
draft,
active,
archived

Réponse

Feature flag status successfully updated.

id
string
requis
Pattern: ^flg_[A-HJ-NP-Za-km-z1-9]+$
name
string
requis
type
enum<string>
requis

Filter by type. Exact match.

Options disponibles:
auth0,
self
status
enum<string>
requis

Filter by status. Exact match.

Options disponibles:
draft,
active,
archived
created_at
string<date-time>
requis
updated_at
string<date-time>
requis
description
string
parameters
object

Configuration parameters for this feature flag