---
title: "Stop watching a namespace"
method: DELETE
path: "/v1/namespaces/{key}"
tags: ["Namespaces"]
---

# Stop watching a namespace

`DELETE /v1/namespaces/{key}`

Stop watching a namespace and remove all its forwarded services

## Path parameters

- `key` string, required

## Response `200`

Namespace watcher stopped

- Response
  - `success` boolean
  - `data` object
  - `error` ErrorInfo
    - `code` string
    - `message` string
  - `meta` MetaInfo
    - `count` integer
    - `timestamp` string, date-time

## Other responses

- `401` — Missing or invalid API key
- `404` — Namespace not found

---

[API](https://skmtc.net/txn2/apis/kubefwd-api.md) · [All operations](https://skmtc.net/txn2/apis/kubefwd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txn2/kubefwd-api/versions/e4f8bfb653cf/schema)
