summaryrefslogtreecommitdiff
path: root/doc/api/users.md
diff options
context:
space:
mode:
authorRobin Bobbitt <ryehle@us.ibm.com>2017-02-15 20:44:36 -0500
committerRobin Bobbitt <ryehle@us.ibm.com>2017-04-18 14:55:32 -0400
commitddf7e6ae78cc87314d081427f00d54f203cfd60a (patch)
treea11222bc23c25204a4c5dbf91eda698ee0243e0e /doc/api/users.md
parent22c4050058cd941b3e2d1d38cd370a5a3cb99cb4 (diff)
downloadgitlab-ce-ddf7e6ae78cc87314d081427f00d54f203cfd60a.tar.gz
Implement search by extern_uid in Users API
Diffstat (limited to 'doc/api/users.md')
-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 2ada4d09c84..604acedb4a2 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -130,6 +130,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