POST
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
/
{flagKey}
/
rules
/
{ruleId}
/
distributions

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespaceKey
string
required
flagKey
string
required
ruleId
string
required

Body

application/json
variantId
string
required
rollout
number
required
flagKey
string
ruleId
string
namespaceKey
string

Response

200 - application/json
id
string
ruleId
string
variantId
string
rollout
number
createdAt
string
updatedAt
string