Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanadium23 <chernoffivan@gmail.com>2017-06-13 20:23:49 +0300
committervanadium23 <chernoffivan@gmail.com>2017-06-16 23:52:15 +0300
commit83a9a472b3bd9c9d8e64805317cd27c144b65112 (patch)
treee8264c5f951a81e08f5800ee950f8fba209a6ccb /doc/api/users.md
parentf2505eb6ce87877f78ee90c8567f879bcd77642b (diff)
Accept image for avatar in user API
Diffstat (limited to 'doc/api/users.md')
-rw-r--r--doc/api/users.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index 91ce4f6dac3..b1ebd7b0c47 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -251,6 +251,7 @@ Parameters:
- `can_create_group` (optional) - User can create groups - true or false
- `confirm` (optional) - Require confirmation - true (default) or false
- `external` (optional) - Flags the user as external - true or false(default)
+- `avatar` (optional) - Image file for user's avatar
## User modification
@@ -279,6 +280,7 @@ Parameters:
- `admin` (optional) - User is admin - true or false (default)
- `can_create_group` (optional) - User can create groups - true or false
- `external` (optional) - Flags the user as external - true or false(default)
+- `avatar` (optional) - Image file for user's avatar
On password update, user will be forced to change it upon next login.
Note, at the moment this method does only return a `404` error,