Skip to main content

Search Users

POST 

/api/v1/users

Returns users matching the provided search filters. Pass an empty body ({}) to get all users. Requires the VIEW_USER role.

Request​

Body

required

    email string
    firstName string
    lastName string
    username string
    exact boolean

    When true, filters match exactly instead of partially

    page number

    Default value: 1

    Page number (1-based)

    perPage number

    Default value: 10

    Items per page

Responses​

Schema

  • Array [

  • id string
    email stringrequired
    username string
    firstName string
    lastName string
    roles string[]
    groups string[]

    Names of the Keycloak groups the user belongs to

  • ]

Loading...