mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Org API: enrich add user to org endpoints with user ID in the response (#27551)
This commit is contained in:
@@ -212,7 +212,7 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
|
||||
`GET /api/orgs/name/:orgName`
|
||||
|
||||
Only works with Basic Authentication (username and password), see [introduction](#admin-organizations-api).
|
||||
|
||||
|
||||
**Example Request**:
|
||||
|
||||
```http
|
||||
@@ -463,7 +463,7 @@ Content-Type: application/json
|
||||
HTTP/1.1 200
|
||||
Content-Type: application/json
|
||||
|
||||
{"message":"User added to organization"}
|
||||
{"message":"User added to organization", "userId": 1}
|
||||
```
|
||||
|
||||
### Update Users in Organization
|
||||
|
||||
Reference in New Issue
Block a user