Skip to main content

userOrganizations

Returns organizations the authenticated user belongs to, regardless of the current token scope. Supports pagination and search for the org switcher UI.

userOrganizations(
search: String
offset: Int
max: Int
): [OrganizationInfo!]!

Arguments​

Search filter (matches name or alias)

userOrganizations.offset ● Int scalar​

Offset for pagination (default 0)

userOrganizations.max ● Int scalar​

Page size (default 20, max 100)

Type​

OrganizationInfo object​

Organization information including contact details. Stores title (editable) and contact fields in Keycloak organization attributes. The alias/ID is immutable after creation.