---
title: "Get user's group"
method: GET
path: "/iam/clients/{clientId}/client-users/{userId}"
tags: ["Users"]
---

# Get user's group

`GET /iam/clients/{clientId}/client-users/{userId}`

Returns user's group in the specified account.

## Path parameters

- `userId` integer, required
- `clientId` integer, required

## Response `200`

OK.

- UserRole — User's group.
  - `user_role` Group
    - `id` integer — Group's ID: Possible values are: - 1 - Administrators* 2 - Users* 5 - Engineers* 3009 - Purge and Prefetch only (API+Web)* 3022 - Purge and Prefetch only (API)
    - `name` 'Users' | 'Administrators' | 'Engineers' | 'Purge and Prefetch only (API)' | 'Purge and Prefetch only (API+Web)' — Group's name.

## Other responses

- `403` — You do not have permission for the specified account to perform this action.
- `404` — User is not found in the specified account.

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
