Create (overwrite) variants for a feature flag in multiple environments

This overwrites the current variants for the feature flag in the :featureName parameter for the :environment parameter.

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired
featureNamestringRequired

Request

pushVariantsSchema
variantslist of objectsOptional
The variants to write to the provided environments
environmentslist of stringsOptional
The enviromnents to write the provided variants to

Response

featureVariantsSchema
versioninteger
The version of the feature variants schema.
variantslist of objects
All variants defined for a specific feature flag.

Errors