Show User

GET /v1/users/{id}

Path parameters

  • id string Required

    User ID

Responses

  • 200 application/json

    User response

    Hide response attribute Show response attribute object
    • data object

      A user

      Hide data attributes Show data attributes object
      • address object

        An address

        Hide address attributes Show address attributes object
        • city string

          City

        • country string

          Country

        • houseNumber string

          House number

        • street string

          Street

        • zipCode string

          ZIP code

      • email string Required

        User email

      • firstName string Required

        User first name

      • groups array[string] Required

        Permissions Groups

      • id integer

        User ID

      • insertedAt string(date-time)

        Creation timestamp

      • lastName string Required

        User last name

      • locations array[string]

        Locations

      • updatedAt string(date-time)

        Update timestamp

GET /v1/users/{id}
curl \
 --request GET 'https://api.azav-pilot.de/v1/users/uuidv4' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "<uuid v4>",
    "email": "dozent@traeger.de",
    "roles": [
      "lecturer"
    ],
    "lastName": "Dozentos",
    "firstName": "Daniel"
  }
}