---
title: "PUT /api/v1/namespaces/{key}"
method: PUT
path: "/api/v1/namespaces/{key}"
tags: ["Flipt", "NamespacesService"]
---

# PUT /api/v1/namespaces/{key}

`PUT /api/v1/namespaces/{key}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/namespaces/{key}`
- Auth: HTTP bearer

## Path parameters

- `key` string, required

## Request body

- UpdateNamespaceRequest
  - `key` string
  - `name` string, required
  - `description` string

## Response `200`

OK

- Namespace
  - `key` string
  - `name` string
  - `description` string
  - `protected` boolean
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

[API](https://skmtc.dev/flipt-io/apis/flipt-api.md) - [All operations](https://skmtc.dev/flipt-io/apis/flipt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flipt-io/apis/flipt-api/revisions/6fe4caf26f13?raw)
