summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Presa <tpresa@gitlab.com>2019-05-29 19:20:17 +0000
committerThiago Presa <tpresa@gitlab.com>2019-05-29 16:24:08 -0300
commitc5e30cb819c9f4874dfe99e7806d8e4ce1ed52e3 (patch)
tree70356dadffd3f357878fe83ba443a723a0652d08
parent6aa0df5a0f9a71de3e64f8170ebdc1c041a238ff (diff)
downloadgitlab-ce-tpresa-fix-highest-role-docs.tar.gz
Fix highest role docstpresa-fix-highest-role-docs
The docs for the highest_role field was incorrectly added to the /users endpoint. This commit adds it to the /users/:id
-rw-r--r--doc/api/users.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index d3e67d3d510..47028c679b8 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -140,8 +140,7 @@ GET /users
"can_create_project": true,
"two_factor_enabled": true,
"external": false,
- "private_profile": false,
- "highest_role":10
+ "private_profile": false
}
]
```
@@ -257,7 +256,8 @@ Parameters:
"can_create_project": true,
"two_factor_enabled": true,
"external": false,
- "private_profile": false
+ "private_profile": false,
+ "highest_role":10
}
```