younifyd
Menu

List Users

List users

GET/admin/realms/{realm}/users

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the List Users action (under Users).
  3. Fill in the fields below, then reference the result from later steps as {{listUsers.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

Query parameters

briefRepresentationboolean

Boolean which defines whether brief representations are returned (default: false)

emailstring

A String contained in email, or the complete email, if param "exact" is true

emailVerifiedboolean

whether the email has been verified

enabledboolean

Boolean representing if user is enabled or not

exactboolean

Boolean which defines whether the params "last", "first", "email" and "username" must match exactly

firstinteger (int32)

Pagination offset

firstNamestring

A String contained in firstName, or the complete firstName, if param "exact" is true

idpAliasstring

The alias of an Identity Provider linked to the user

idpUserIdstring

The userId at an Identity Provider linked to the user

lastNamestring

A String contained in lastName, or the complete lastName, if param "exact" is true

maxinteger (int32)

Maximum results size (defaults to 100)

qstring

A query to search for custom attributes, in the format 'key1:value2 key2:value2'

searchstring

A String contained in username, first or last name, or email. Default search behavior is prefix-based (e.g., foo or foo*). Use *foo* for infix search and "foo" for exact search.

usernamestring

A String contained in username, or the complete username, if param "exact" is true

Response

Returns 200 with a array<object>. Read it in later steps with {{listUsers.response.data.<field>}}.

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

List Users — Keycloak — Documentation