---
title: "add labels to nodes."
method: POST
path: "/cc/v1/resources/labels"
tags: ["Resources"]
---

# add labels to nodes.

`POST /cc/v1/resources/labels`

Optional extended description in Markdown.

## Request body

- LabelsRequest
  - `ipAddress` string — the ip of node
  - `lbBusType` string — the lbBusType of nameSpace
  - `lbGpuModel` string — the lbGpuModel of nameSpace
  - `namespace` string — the nameSpace name

## Response `200`

Detailed namespace and namespace information.

- LabelsResponse
  - `ipAddress` string — the ip of node
  - `labels` object — the labels of node

## Other responses

- `401` — Unauthorized
- `404` — url to add 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)
