Nacos Namespace API

Namespace management

Operations 4

GET /v1/console/namespaces List namespaces #
POST /v1/console/namespaces Create a namespace #
PUT /v1/console/namespaces Update a namespace #
DELETE /v1/console/namespaces Delete a namespace #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nacos-namespace-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nacos-namespace-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nacos Open Auth Namespace API
  description: Nacos Open API for service discovery, configuration management, and namespace management. Nacos supports dynamic service discovery, service configuration, service metadata, and traffic management.
  version: 2.3.0
  contact:
    name: Alibaba Nacos
    url: https://nacos.io/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:8848/nacos
  description: Local Nacos server
- url: http://{nacos_host}:{port}/nacos
  description: Custom Nacos server
  variables:
    nacos_host:
      default: localhost
    port:
      default: '8848'
security:
- AccessToken: []
tags:
- name: Namespace
  description: Namespace management
paths:
  /v1/console/namespaces:
    get:
      operationId: listNamespaces
      summary: List namespaces
      description: Returns all namespaces.
      tags:
      - Namespace
      responses:
        '200':
          description: Namespace list
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                    nullable: true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Namespace'
    post:
      operationId: createNamespace
      summary: Create a namespace
      description: Creates a new namespace.
      tags:
      - Namespace
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - customNamespaceId
              - namespaceName
              properties:
                customNamespaceId:
                  type: string
                namespaceName:
                  type: string
                namespaceDesc:
                  type: string
      responses:
        '200':
          description: Namespace created
          content:
            application/json:
              schema:
                type: boolean
    put:
      operationId: updateNamespace
      summary: Update a namespace
      description: Updates namespace info.
      tags:
      - Namespace
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              required:
              - namespace
              - namespaceShowName
              properties:
                namespace:
                  type: string
                  description: Namespace ID
                namespaceShowName:
                  type: string
                namespaceDesc:
                  type: string
      responses:
        '200':
          description: Namespace updated
          content:
            application/json:
              schema:
                type: boolean
    delete:
      operationId: deleteNamespace
      summary: Delete a namespace
      description: Deletes a namespace by ID.
      tags:
      - Namespace
      parameters:
      - name: namespaceId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Namespace deleted
          content:
            application/json:
              schema:
                type: boolean
components:
  schemas:
    Namespace:
      type: object
      properties:
        namespace:
          type: string
          description: Namespace ID
        namespaceShowName:
          type: string
          description: Display name
        namespaceDesc:
          type: string
          description: Description
        quota:
          type: integer
        configCount:
          type: integer
        type:
          type: integer
  securitySchemes:
    AccessToken:
      type: apiKey
      name: accessToken
      in: query
      description: Access token obtained from login endpoint