mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 10:12:53 +08:00
API: Support paging in the admin orgs list API (#26932)
* Add page/limit to org search * Update docs * Fix test per PR feedback
This commit is contained in:

committed by
GitHub

parent
214c1078aa
commit
3403db190d
@ -325,7 +325,7 @@ Content-Type: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Get Users in Organization
|
||||
|
||||
`GET /api/orgs/:orgId/users`
|
||||
@ -339,6 +339,8 @@ Content-Type: application/json
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
```
|
||||
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