---
title: "delete cluster metadata in this system physically, but keep the real cluster alive"
method: DELETE
path: "/metadata/{clusterId}/"
tags: ["cluster"]
---

# delete cluster metadata in this system physically, but keep the real cluster alive

`DELETE /metadata/{clusterId}/`

for handling exceptions only

## Path parameters

- `clusterId` string, required

## Request body

- ClusterDeleteMetadataPhysicallyReq
  - `reason` string, required

## Response `200`

OK

- object
  - `code` integer
  - `data` object
  - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

> 50 revisions in range; 1 could not be searched.

- **2022-03-23** `33687b4a48c2` — 1 info
  - endpoint added
- **2022-03-18** `f0d0360e05ae` — 1 breaking
  - api path removed without deprecation
- **2022-03-18** `1d5669540c8c` — 1 info
  - endpoint added
- **2022-03-07** `e9e75c7c2edb` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pingcap/apis/em-ui-api/changes/metadata/:clusterId/delete.md)

---

[API](https://skmtc.dev/pingcap/apis/em-ui-api.md) · [All operations](https://skmtc.dev/pingcap/apis/em-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pingcap/em-ui-api/revisions/631e4b26b7e8/schema)
