POST
/
api
/
v1
/
namespaces
curl --request POST \
  --url https://try.flipt.io/api/v1/namespaces \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "key": "<key>",
  "name": "<name>"
}'
{
  "key": "<string>",
  "name": "<string>",
  "description": "<string>",
  "protected": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}
curl --request POST \
  --url https://try.flipt.io/api/v1/namespaces \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
  "key": "<key>",
  "name": "<name>"
}'

Authorizations

Authorization
string
header
required

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

Body

application/json
key
string
required
name
string
required
description
string

Response

200 - application/json
OK
key
string
name
string
description
string
protected
boolean
createdAt
string
updatedAt
string