Rules
Create Rule
POST
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
/
{flagKey}
/
rules
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
namespaceKey
string
requiredflagKey
string
requiredBody
application/json
segmentKey
string
requiredrank
integer
requiredsegmentKeys
string[]
segmentOperator
enum<string>
Available options:
OR_SEGMENT_OPERATOR
, AND_SEGMENT_OPERATOR
Response
200 - application/json
id
string
requirednamespaceKey
string
requiredflagKey
string
requiredsegmentKey
string
requiredsegmentOperator
enum<string>
requiredAvailable options:
OR_SEGMENT_OPERATOR
, AND_SEGMENT_OPERATOR
distributions
object[]
requiredrank
integer
requiredcreatedAt
string
requiredupdatedAt
string
requiredsegmentKeys
string[]
Was this page helpful?