List All Users

GET /v1/users

Responses

  • 200 application/json

    User Response

    Hide response attribute Show response attribute object
    • data array[object]

      The users details

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