---
title: "update namespace."
method: PUT
path: "/cc/v1/namespaces"
tags: ["Namespaces"]
---

# update namespace.

`PUT /cc/v1/namespaces`

Optional extended description in Markdown.

## Request body

- NamespaceRequest
  - `id` integer — the id of namespace
  - `namespace` string — the namespace name
  - `platformNamespace` string — the namespace platformNamespace
  - `remarks` string — the remarks of namespace
  - `annotations` object — the annotations of namespace
  - `enableFlag` integer — Whether the data is valid

## Response `200`

Detailed namespace and namespace information.

- NamespaceRequest
  - `id` integer — the id of namespace
  - `namespace` string — the namespace name
  - `platformNamespace` string — the namespace platformNamespace
  - `remarks` string — the remarks of namespace
  - `annotations` object — the annotations of namespace
  - `enableFlag` integer — Whether the data is valid

## Other responses

- `401` — Unauthorized
- `404` — url to put namespace not found.

---

[API](https://skmtc.dev/webankfintech/apis/mlss-cc-api.md) · [All operations](https://skmtc.dev/webankfintech/apis/mlss-cc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/webankfintech/mlss-cc-api/revisions/615a549c16f7/schema)
