summaryrefslogtreecommitdiff
path: root/doc/api/users.md
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-07-12 12:18:14 +0200
committerRémy Coutable <remy@rymai.me>2017-07-12 12:45:46 +0200
commit91f63820a540e7f3e7206dc8044e257cf28527dc (patch)
treecb00077df90431ce561d6314a4542cb3a7aa988b /doc/api/users.md
parentdc05bcd885e441e8cac0e5038141bca0775f049d (diff)
downloadgitlab-ce-91f63820a540e7f3e7206dc8044e257cf28527dc.tar.gz
Return `is_admin` attribute in the GET /user endpoint for admins
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc/api/users.md')
-rw-r--r--doc/api/users.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index 91170e79645..6e5ec3231c5 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -364,7 +364,7 @@ GET /user
Parameters:
-- `sudo` (required) - the ID of a user
+- `sudo` (optional) - the ID of a user to make the call in their place
```
GET /user