Create a Feature Flag Rule

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request URI Creating a Feature Flag Rule

POST /accounts/123456/environments/1/features/1/rules

Sample Request Body

{
    "name": "Rollout 1",
    "key": "rollout1",
    "type": "flag-rollout",
    "campaignData": {
        "percentSplit": 60
    }
}
Path Params
string
required
Defaults to current
int32
required
int32
required
Body Params
string
string
string
enum
Defaults to FLAG_ROLLOUT
Allowed:
campaignData
object
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json