---
title: "Delete namespace from workspace"
method: DELETE
path: "/kapis/tenant.kubesphere.io/v1beta1/workspaces/{workspace}/namespaces/{namespace}"
tags: ["User Related Resources"]
---

# Delete namespace from workspace

`DELETE /kapis/tenant.kubesphere.io/v1beta1/workspaces/{workspace}/namespaces/{namespace}`

## Path parameters

- `workspace` string, required
- `namespace` string, required

## Response `200`

ok

- ErrorsError
  - `message` string, required — error message

## Changes

- **2026-07-17** `0451c8cec9b1` — 1 info
  - endpoint added
- **2019-08-27** `6d6e730a2d14` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubesphere/apis/ks-api/changes/kapis/tenant.kubesphere.io/v1beta1/workspaces/:workspace/namespaces/:namespace/delete.md)

---

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