v1

latestOpenAPI 3.0.32026-07-14314472448.6 KB
access_control
enterprise

List roles assigned to multiple users.

Lists the roles that have been directly assigned to the given users. 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:*.

post/access-control/users/roles/search

Request body

includeHiddenboolean
orgIdinteger
teamIdsinteger[]
userIdsinteger[]

Response

(empty)

object required