---
title: "create k8s namespace"
method: POST
path: "/api/v1/cluster/namespaces"
tags: ["Cluster"]
---

# create k8s namespace

`POST /api/v1/cluster/namespaces`

create k8s namespace

## Request body

- ParamCreateNamespaceParam
  - `namespace` string

## Response `200`

OK

- ResponseAPIResponse
  - `data` unknown, required
  - `message` string, required
  - `successful` boolean, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api.md) · [All operations](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oceanbase/oceanbase-dashboard-api/revisions/fa579fa6f72d/schema)
