summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-04-19 19:50:38 +0000
committerRobert Speicher <robert@gitlab.com>2017-04-19 19:50:38 +0000
commit93e23a5d718eafb78c4b8d5b605d740d48c75418 (patch)
treea20733da8f0a9f442e48d8ae1324edadd3b01b77 /doc/api
parenta4688d9d9ac2af39562770d011394a2151a12c60 (diff)
parentddf7e6ae78cc87314d081427f00d54f203cfd60a (diff)
downloadgitlab-ce-93e23a5d718eafb78c4b8d5b605d740d48c75418.tar.gz
Merge branch 'query-users-by-extern-uid' into 'master'
Implement search by extern_uid in Users API See merge request !10509
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/users.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index a79d31d19fa..ff5bffa178f 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -132,6 +132,18 @@ For example:
GET /users?username=jack_smith
```
+You can also lookup users by external UID and provider:
+
+```
+GET /users?extern_uid=:extern_uid&provider=:provider
+```
+
+For example:
+
+```
+GET /users?extern_uid=1234567&provider=github
+```
+
You can search for users who are external with: `/users?external=true`
## Single user