admin_users

Return a list of all auth tokens (devices) that the user currently have logged in from.

If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.authtoken:list and scope global.users:*.

get/admin/users/{user_id}/auth-tokens

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/admin/users/{user_id}/auth-tokens
  • Auth
    HTTP basic

Path parameters

user_idinteger required

Response

(empty)

AuthTokenstring
AuthTokenSeenboolean
ClientIpstring
CreatedAtinteger
Idinteger
PrevAuthTokenstring
RevokedAtinteger
RotatedAtinteger
SeenAtinteger
UnhashedTokenstring
UpdatedAtinteger
UserAgentstring
UserIdinteger

Changes

No recorded changes to this operation across all 2 revisions of this API.