orgs

Update Users in Organization.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: org.users.role:update with scope users:*.

patch/orgs/{org_id}/users/{user_id}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/orgs/{org_id}/users/{user_id}
  • Auth
    • HTTP basic
    • or API key in header Authorization

Path parameters

org_idinteger required
user_idinteger required

Request body

role'Viewer' | 'Editor' | 'Admin'

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.