Org API: enrich add user to org endpoints with user ID in the response (#27551)

This commit is contained in:
Agnès Toulet
2020-09-14 08:58:23 +02:00
committed by GitHub
parent 8759a91222
commit eb970a4985
3 changed files with 15 additions and 5 deletions

View File

@@ -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