Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference
GitHubDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

Update a Feature

Update a feature by ID.

Log in to see full request history

❗️

Warning

The Update a Feature endpoint is not available for Optimizely Web Experimentation.

Path Params
int64
required

The unique identifier for the Feature

Body Params

A string in JSON format that includes all the fields you'd like to change for a Feature

boolean

Whether the Feature has been archived

string

A short description of this Feature

environments
object

The configuration for this Feature's Rollout within each Environment, keyed by Environment key.

string
length ≤ 64

Unique string identifier for this Feature within the Project

string

Name of the Feature

variables
array of objects

Variables define the dynamic configuration of a feature, and each variable can take on a different value on a per-variation basis within a feature test.

variables
Responses

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json