v1
latestOpenAPI 3.0.32026-07-14314472448.6 KBaccess_control
enterprise
List roles assigned to a user.
Lists the roles that have been directly assigned to a given user. The list does not include built-in roles (Viewer, Editor, Admin or Grafana Admin), and it does not include roles that have been inherited from a team.
You need to have a permission with action users.roles:read and scope users:id:<user ID>.
get/access-control/users/{userId}/roles
Path parameters
userIdinteger required
Query parameters
includeHiddenboolean
targetOrgIdinteger
Response
(empty)