org

Add a new user to the current organization.

Adds a global user to the current organization.

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

post/org/users

Request

  • Base URL
    /api (relative, and the document’s source URL is not known)
  • URL
    /api/org/users
  • Auth
    • HTTP basic
    • or API key in header Authorization

Request body

loginOrEmailstring
role'None' | 'Viewer' | 'Editor' | 'Admin'

Response

An OKResponse is returned if the request was successful.

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.