---
title: "Returns userGroups."
method: GET
path: "/cc/v1/auth/access/usergroups/{userName}"
tags: ["Groups"]
---

# Returns userGroups.

`GET /cc/v1/auth/access/usergroups/{userName}`

Optional extended description in Markdown.

## Path parameters

- `userName` string, required

## Response `200`

Detailed userGroup and userGroup information.

- UserGroup[]
  - `id` integer — the id of UserGroup
  - `userId` integer — the UserGroup
  - `RoleId` integer — the roleId of UserGroup
  - `GroupId` integer — the GroupId of UserGroup
  - `remarks` string — the remarks UserGroup
  - `enableFlag` integer — Whether the data is valid

## 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/auth/access/usergroups/: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)
