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

Authorizations

Authorization
string
headerrequired

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
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