---
title: "User"
url: "https://developer.tesma.com/apis/idp-public-api-2/versions/3a3d30d9-10e8-4c7b-9457-d1f146a3a3fe/schemas/User"
---

> Full API specification: https://developer.tesma.com/apis/idp-public-api-2/versions/3a3d30d9-10e8-4c7b-9457-d1f146a3a3fe.md

# User

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: CHG IdentityProvider API v1
  version: 2.3.44.0
components:
  schemas:
    UserClaim:
      additionalProperties: false
      properties:
        claimType:
          type:
            - "null"
            - string
        value:
          type:
            - "null"
            - string
        valueType:
          type:
            - "null"
            - string
      type: object
    UserRole:
      additionalProperties: false
      properties:
        description:
          type:
            - "null"
            - string
        id:
          type:
            - "null"
            - string
        name:
          type:
            - "null"
            - string
      type: object
    User:
      additionalProperties: false
      properties:
        claims:
          items:
            $ref: "#/components/schemas/UserClaim"
          type:
            - "null"
            - array
        email:
          type:
            - "null"
            - string
        emailConfirmed:
          type: boolean
        firstName:
          type:
            - "null"
            - string
        id:
          type:
            - "null"
            - string
        isBlocked:
          type: boolean
        isDeleted:
          type: boolean
        lastName:
          type:
            - "null"
            - string
        lockoutEnd:
          format: date-time
          type:
            - "null"
            - string
        phoneNumber:
          type:
            - "null"
            - string
        roles:
          items:
            $ref: "#/components/schemas/UserRole"
          type:
            - "null"
            - array
        userName:
          type:
            - "null"
            - string
      type: object
```
