---
title: "Create Namespace"
method: POST
path: "/v1/projects/{project_id}/namespaces"
tags: ["namespaces"]
---

# Create Namespace

`POST /v1/projects/{project_id}/namespaces`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/namespaces`
- Auth: none declared

## Path parameters

- `project_id` string, required

## Request body

- AppRoutesNamespacesNamespaceCreateIn
  - `slug` string, required
  - `name` string, required
  - `description` string, nullable

## Response `201`

Successful Response

- NamespaceOut
  - `uuid` string, required
  - `project_uuid` string, required
  - `slug` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
