Browse Source

Adding a user in a specified organisation uses the admin API

Jeroen Jacobs 8 years ago
parent
commit
5b926cc102
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/sources/http_api/org.md

+ 3 - 1
docs/sources/http_api/org.md

@@ -380,6 +380,8 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
   "role":"Viewer"
   "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**:
 **Example Response**:
 
 
@@ -436,4 +438,4 @@ HTTP/1.1 200
 Content-Type: application/json
 Content-Type: application/json
 
 
 {"message":"User removed from organization"}
 {"message":"User removed from organization"}
-```
+```