admin_users

Revoke auth token for user.

Revokes the given auth token (device) for the user. User of issued auth token (device) will no longer be logged in and will be required to authenticate again upon next activity. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.authtoken:update and scope global.users:*.

post/admin/users/{user_id}/revoke-auth-token

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}/revoke-auth-token
  • Auth
    HTTP basic

Path parameters

user_idinteger required

Request body

authTokenIdinteger

Response

An OKResponse is returned if the request was successful.

messagestring

Changes

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