summaryrefslogtreecommitdiff
path: root/doc/api/groups.md
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2015-01-20 20:34:09 -0700
committerVinnie Okada <vokada@mrvinn.com>2015-02-11 18:53:07 -0700
commitb0dacc8eb06615cf5d0afb1fc8d799dd64325846 (patch)
treeff0a8bec0ad9450fcd9dc8585cc8c638d2298d09 /doc/api/groups.md
parent04953950546300400d2d95f4c3df547c59a2b174 (diff)
downloadgitlab-ce-b0dacc8eb06615cf5d0afb1fc8d799dd64325846.tar.gz
Edit group members via API
Add an API endpoint to update the access level of an existing group member.
Diffstat (limited to 'doc/api/groups.md')
-rw-r--r--doc/api/groups.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/groups.md b/doc/api/groups.md
index 9f01b550641..3c1858e697d 100644
--- a/doc/api/groups.md
+++ b/doc/api/groups.md
@@ -152,6 +152,20 @@ Parameters:
- `user_id` (required) - The ID of a user to add
- `access_level` (required) - Project access level
+### Edit group team member
+
+Updates a group team member to a specified access level.
+
+```
+PUT /groups/:id/members/:user_id
+```
+
+Parameters:
+
+- `id` (required) - The ID of a group
+- `user_id` (required) - The ID of a group member
+- `access_level` (required) - Project access level
+
### Remove user team member
Removes user from user team.