Flags
Create Flag
POST
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
namespaceKey
string
requiredBody
application/json
key
string
requiredname
string
requiredtype
enum<string>
requiredAvailable options:
VARIANT_FLAG_TYPE
, BOOLEAN_FLAG_TYPE
description
string
enabled
boolean
Response
200 - application/json
namespaceKey
string
requiredkey
string
requiredname
string
requireddescription
string
requiredenabled
boolean
requiredcreatedAt
string
requiredupdatedAt
string
requiredvariants
object[]
requiredtype
enum<string>
requiredAvailable options:
VARIANT_FLAG_TYPE
, BOOLEAN_FLAG_TYPE
Was this page helpful?