Reputation: 147
I'm attempting to patch a feature flag via the API, adding an individual target to the flag following the documentation for patching feature flags.
Targeting an API route of https://app.launchdarkly.com/api/v2/flags/foo/bar
Where bar is a boolean flag, I'm using the body:
{
"instructions":[{"kind": "addUserTargets", "values":["[email protected]"],"variationId": "True"}],
"environmentKey": "development"
}
I am receiving a return of
What am I doing wrong in my request body? I haven't been able to find the variationId through the Darkly UI
Edit: Proof of Proper Headers -
Upvotes: 4
Views: 400