mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 04:22:13 +08:00
Merge pull request #9910 from jeroenj/patch-1
Adding a user in a specified organisation uses the admin API
This commit is contained in:
@ -380,6 +380,8 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
|
||||
"role":"Viewer"
|
||||
}
|
||||
```
|
||||
Note: The api will only work when you pass the admin name and password
|
||||
to the request http url, like http://admin:admin@localhost:3000/api/orgs/1/users
|
||||
|
||||
**Example Response**:
|
||||
|
||||
|
Reference in New Issue
Block a user