---
title: "GET /api/v1/users/{userId}"
method: GET
path: "/api/v1/users/{userId}"
tags: ["Users"]
---

# GET /api/v1/users/{userId}

`GET /api/v1/users/{userId}`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/users/{userId}`
- Auth: none declared

## Path parameters

- `userId` integer, required

## Response `200`

OK

- GetUserResponse
  - `id` integer
  - `email` string, nullable
  - `name` string, nullable
  - `tenantId` integer
  - `isAdmin` boolean
  - `isMsp` boolean
  - `companyName` string, nullable
  - `type` string, nullable
  - `azurePrincipalId` string, nullable
  - `isExpired` boolean
  - `expirationDateUTC` string, date-time, nullable
  - `personId` integer, nullable
  - `canManageCrossTenantDeployments` boolean
  - `groupCount` integer
  - `groups` string[], nullable
  - `directRoleCount` integer

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
