POST
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags

Authorizations

Authorization
string
header
required

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

Path Parameters

namespaceKey
string
required

Body

application/json
key
string
required
name
string
required
type
enum<string>
required
Available options:
VARIANT_FLAG_TYPE,
BOOLEAN_FLAG_TYPE
description
string
enabled
boolean
metadata
object
namespaceKey
string

Response

200 - application/json
createdAt
string
defaultVariant
object
description
string
enabled
boolean
key
string
metadata
object
name
string
namespaceKey
string
type
enum<string>
Available options:
VARIANT_FLAG_TYPE,
BOOLEAN_FLAG_TYPE
updatedAt
string
variants
object[]