v1

latestSwagger 2.02026-07-17290378721.8 KB
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 body

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

Response

An OKResponse is returned if the request was successful.

messagestring