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

# Get user's details

`GET /iam/users/{userId}`

## Path parameters

- `userId` integer, required

## Response `200`

OK.

- UserPublic
  - `id` integer, required — User's ID.
  - `email` string, email, required — User's email address.
  - `name` string, nullable, required — User's name.
  - `lang` 'de' | 'en' | 'ru' | 'zh' | 'az', required — User's language. Defines language of the control panel and email messages.
  - `phone` string, nullable, required — User's phone.
  - `company` string, required — User's company.
  - `reseller` integer, required — Services provider ID.
  - `client` number, required — User's account ID.
  - `deleted` boolean, required — Deletion flag. If `true` then user was deleted.
  - `groups` Group[], required — User's group in the current account. IAM supports 5 groups: - Users - Administrators - Engineers - Purge and Prefetch only (API) - Purge and Prefetch only (API+Web)
    - `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.
  - `activated` boolean, required — Email confirmation: - `true` – user confirmed the email; - `false` – user did not confirm the email.
  - `sso_auth` boolean, required — SSO authentication flag. If `true` then user can login via SAML SSO.
  - `two_fa` boolean, required — Two-step verification: - `true` – user enabled two-step verification; - `false` – user disabled two-step verification.
  - `auth_types` AuthType[], required — System field. List of auth types available for the account.
  - `user_type` 'common' | 'reseller' | 'seller', required — User's type.
  - `is_active` boolean, required — User activity flag.

## Other responses

- `401` — Authentication credentials were not provided or given token not valid for any token type.
- `404` — User not found.

---

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