---
title: "Delete a namespace"
method: DELETE
path: "/namespaces/{name}"
tags: ["namespaces"]
---

# Delete a namespace

`DELETE /namespaces/{name}`

Delete a namespace owned by the authenticated user. The namespace must not contain any servers. Skills and connections in the namespace will be deleted automatically.

## Path parameters

- `name` string, required

## Response `200`

Namespace deleted successfully

- object
  - `success` boolean, required
  - `name` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - user does not own this namespace
- `404` — Namespace not found
- `409` — Conflict - namespace contains servers that must be deleted first

---

[API](https://skmtc.net/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.net/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
