Optional additionalA container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.
Optional environmentThe environment the bandit serves in.
Optional featureThe flag the bandit serves through.
Optional targetingWho the bandit serves. When empty, the bandit serves everyone in the environment.
Generated using TypeDoc
The flag and environment the bandit serves on, and who it serves there. The server chooses the rule's
allocation_key. On create,feature_flag_idandenvironment_idare required, andnullis the same as omitting it. On update, omitted fields are unchanged, andnulltakes a draft off its flag, which also clears its variants and scheduled end. Moving a draft to another flag clears its variants unless the request sets them. Only a draft can change it.