---
title: "Delete namespace by id"
method: DELETE
path: "/v1beta1/namespaces/{id}"
tags: ["namespace"]
---

# Delete namespace by id

`DELETE /v1beta1/namespaces/{id}`

Ensure all schemas under this namespace is deleted, otherwise it will throw error

## Path parameters

- `id` string, required

## Response `200`

A successful response.

- V1beta1DeleteNamespaceResponse
  - `message` string

## Other responses

- `default` — An unexpected error response.

## Changes

- **2022-04-22** `3d2313d120b7` — 1 info
  - endpoint added
- **2022-01-28** `df08eaea7077` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/changes/v1beta1/namespaces/:id/delete.md)

---

[API](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto.md) · [All operations](https://skmtc.dev/raystack/apis/raystack-stencil-v1beta1-stencil-proto/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/raystack/raystack-stencil-v1beta1-stencil-proto/revisions/d1b228ba05f0/schema)
