Namespaces
Update Namespace
PUT
/
api
/
v1
/
namespaces
/
{key}
curl --request PUT \
--url https://try.flipt.io/api/v1/namespaces/{key} \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"name": "<name>",
"description": "<description>"
}'
{
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"key": "<string>",
"name": "<string>",
"protected": true,
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
key
string
requiredBody
application/json
description
string
name
string
requiredResponse
200 - application/json
createdAt
string
requireddescription
string
requiredkey
string
requiredname
string
requiredprotected
boolean
requiredupdatedAt
string
requiredWas this page helpful?
curl --request PUT \
--url https://try.flipt.io/api/v1/namespaces/{key} \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"name": "<name>",
"description": "<description>"
}'
{
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"key": "<string>",
"name": "<string>",
"protected": true,
"updatedAt": "2023-11-07T05:31:56Z"
}