---
title: "Returns a namespace list."
method: GET
path: "/cc/v1/namespaces/role/{roleName}/user/{userName}"
tags: ["Namespaces"]
---

# Returns a namespace list.

`GET /cc/v1/namespaces/role/{roleName}/user/{userName}`

Optional extended description in Markdown.

## Path parameters

- `roleName` string, required
- `userName` string, required

## Response `200`

get namespace by role name and user name.

- string[]

## Other responses

- `401` — Unauthorized
- `404` — Model with the given ID not found.

## Changes

- **2026-07-17** `615a549c16f7` — 1 info
  - endpoint added
- **2020-12-07** `bef9a2e5ccd3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/webankfintech/apis/mlss-cc-api/changes/cc/v1/namespaces/role/:roleName/user/:userName/get.md)

---

[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)
