orgs

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/orgs/{org_id}/users

Request

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

Path parameters

org_idinteger required

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.