Try our conversational search powered by Generative AI!

Optimizely: Turn on/off feature flag via API call or code


How can I turn on/off Optimizely flag via an API call or code(using SDK) from the backend? I don't want to turn it on/off via Optimizely UI and automate it based on certain events trigeering

Jun 05, 2023 21:32

Hi Kumar,

Have you look into archiving the flag , this might achieve what you are looking for.


Jun 06, 2023 10:21

Hi Paul,

Archiving/Unarchiving the flag does not turn it on & off. It stays off in both cases. 

Thank You

Jun 27, 2023 15:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.