---
title: "检查命名空间是否存在"
method: GET
path: "/v3/console/core/namespace/exist"
tags: ["Nacos控制台命名空间相关API"]
---

# 检查命名空间是否存在

`GET /v3/console/core/namespace/exist`

通过该接口，可以检查命名空间ID是否存在。默认控制台ID将在创建命名空间前调用，确认自定义的命名空间ID是否已经存在，以防冲突。

## Response `200`

OK

- ResultBoolean
  - `code` integer
  - `message` string
  - `data` boolean

---

[API](https://skmtc.net/nacos/apis/nacos-api.md) · [All operations](https://skmtc.net/nacos/apis/nacos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nacos/nacos-api/revisions/215ef0377c96/schema)
