Passer au contenu principal
PATCH
Update a variation.

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 parent feature flag.

vid
string
requis

The ID of the variation to update.

Corps

Partial update of a variation. Only provided fields are updated.

name
string

A human-readable name for the variation

Required string length: 3 - 255
Pattern: ^(?!.*\x00)\S(.*\S)?$
description
string | null

A description of what this variation controls

Required string length: 3 - 1024
Pattern: ^(?!.*\x00)\S(.*\S)?$
overrides
object

Configuration overrides for this variation; keys must exist in the parent flag parameters. Empty {} is the baseline (control) variation that overrides nothing.

Réponse

Variation successfully updated.

id
string
requis
Pattern: ^var_[A-HJ-NP-Za-km-z1-9]+$
feature_flag_id
string
requis
Pattern: ^flg_[A-HJ-NP-Za-km-z1-9]+$
name
string
requis
overrides
object
requis

Configuration overrides for this variation

created_at
string<date-time>
requis
updated_at
string<date-time>
requis
description
string