summaryrefslogtreecommitdiff
path: root/doc/api/projects.md
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-04-13 09:20:25 +0530
committerTimothy Andrew <mail@timothyandrew.net>2016-04-13 09:20:25 +0530
commitc4393a10d7c7b45fd6ff1942328308794badb3d4 (patch)
tree578472f1bc5c3a3ee61216e6fd5465f211ee9db9 /doc/api/projects.md
parent769a8bf7284da492732d923cb888c0f5be16aff8 (diff)
parent64d71b4dfc4513b70eac61cbb9bb718aee3f09e9 (diff)
downloadgitlab-ce-c4393a10d7c7b45fd6ff1942328308794badb3d4.tar.gz
Merge remote-tracking branch 'origin/master' into 14566-confidential-issue-branches
Diffstat (limited to 'doc/api/projects.md')
-rw-r--r--doc/api/projects.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 3a909a2bc87..ab716c229dc 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -780,8 +780,10 @@ Parameters:
- `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project
- `user_id` (required) - The ID of a team member
-This method is idempotent and can be called multiple times with the same parameters.
-Revoking team membership for a user who is not currently a team member is considered success.
+This method removes the project member if the user has the proper access rights to do so.
+It returns a status code 403 if the member does not have the proper rights to perform this action.
+In all other cases this method is idempotent and revoking team membership for a user who is not
+currently a team member is considered success.
Please note that the returned JSON currently differs slightly. Thus you should not
rely on the returned JSON structure.