From 5b926cc10273f2acf69aaf9cc1e74233160e8b65 Mon Sep 17 00:00:00 2001 From: Jeroen Jacobs Date: Fri, 17 Nov 2017 12:19:18 +0100 Subject: [PATCH] Adding a user in a specified organisation uses the admin API --- docs/sources/http_api/org.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sources/http_api/org.md b/docs/sources/http_api/org.md index 4c1dff904c8..2afac49a7ce 100644 --- a/docs/sources/http_api/org.md +++ b/docs/sources/http_api/org.md @@ -380,6 +380,8 @@ Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk "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**: @@ -436,4 +438,4 @@ HTTP/1.1 200 Content-Type: application/json {"message":"User removed from organization"} -``` \ No newline at end of file +```