v1

latestSwagger 2.02026-07-17290378721.8 KB
access_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

Response

(empty)

createdstring date-time
delegatableboolean
descriptionstring
displayNamestring
groupstring
hiddenboolean
namestring
uidstring
updatedstring date-time
versioninteger