admin_users

Set permissions for user.

Only works with Basic Authentication (username and password). See introduction for an explanation. If you are running Grafana Enterprise and have Fine-grained access control enabled, you need to have a permission with action users.permissions:update and scope global.users:*.

put/admin/users/{user_id}/permissions

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}/permissions
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

user_idinteger required

Request body

isGrafanaAdminboolean

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.