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
namespaceKey
string
metadata
object
Response
200 - application/json
key
string
name
string
description
string
enabled
boolean
createdAt
string
updatedAt
string
variants
object[]
namespaceKey
string
type
enum<string>
Available options:
VARIANT_FLAG_TYPE
, BOOLEAN_FLAG_TYPE
defaultVariant
object
metadata
object
Was this page helpful?