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

(cherry picked from commit eb970a4985)
This commit is contained in:
Agnès Toulet
2020-09-17 10:44:02 +02:00
committed by Hugo Häggmark
parent ac7112876b
commit 27bfb61d2b
3 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -212,7 +212,7 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
HTTP/1.1 200
Content-Type: application/json
{"message":"User added to organization"}
{"message":"User added to organization","userId":1}
```
## Admin Organizations API
@@ -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