diff --git a/website/docs/api/admin/feature-toggles-api-v2.md b/website/docs/api/admin/feature-toggles-api-v2.md index 0b7ce64b70..329274cb7f 100644 --- a/website/docs/api/admin/feature-toggles-api-v2.md +++ b/website/docs/api/admin/feature-toggles-api-v2.md @@ -616,7 +616,16 @@ Transfer-Encoding: chunked { "name": "variant1", "weightType": "fix", - "weight": 650 + "weight": 650, + "payload": { + "type": "json", + "value": "{\"key1\": \"value\", \"key2\": 123}" + }, + "stickiness": "userId", + "overrides": [ { + "contextName": "userId", + "values": ["1", "23"] + } ] }, { "name": "variant2", @@ -639,7 +648,16 @@ echo '[ { "name": "variant1", "weightType": "fix", - "weight": 650 + "weight": 650, + "payload": { + "type": "json", + "value": "{\"key1\": \"value\", \"key2\": 123}" + }, + "stickiness": "userId", + "overrides": [{ + "contextName": "userId", + "values": ["1", "23"] + }] }, { "name": "variant2", @@ -680,7 +698,7 @@ Content-Type: application/json; charset=utf-8 ### PATCH variants for a feature toggle -