younifyd
Menu

Get Organizations Count

Get organizations count

GET/admin/realms/{realm}/organizations/count

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

Query parameters

exactboolean

Boolean which defines whether the param 'search' must match exactly or not

qstring

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

searchstring

A String representing either an organization name or domain

Response

Returns 200 with a integer (int64). Read it in later steps with {{getOrganizationsCount.response.data.<field>}}.

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

Get Organizations Count — Keycloak — Documentation