---
title: "POST /api/v1/namespaces"
method: POST
path: "/api/v1/namespaces"
tags: ["Flipt", "NamespacesService"]
---

# POST /api/v1/namespaces

`POST /api/v1/namespaces`

## Request

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

## Request body

- CreateNamespaceRequest
  - `key` string, required
  - `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)
