capabilities.work

List realm roles available to a user

One step with Keycloak. We can help you get access.

Look something up

List realm roles available to a user

Use Keycloak: its Keycloak Admin REST Role Mapper API lets you list realm roles available to a user in a single step (GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/available). capabilities.work can help you get signed up and connected.

  • Which realm roles can I map to a user?
  • What roles are still free to assign to a user?
Say it to your AI assistant
  • List realm roles available to user {user} in realm {realm}.
  • Show unassigned realm roles I could give user {user} in realm {realm}.
For your developer

GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/available in Keycloak Admin REST Role Mapper API. Full spec on APIs.io.