summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-04-08 12:41:37 +0200
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-04-12 14:30:42 +0200
commit6dbcb880cc72f7511358612bbc76e2ab9ded14c5 (patch)
tree0f3510583a254f6e5a0d7027f670e20ef6c6b060 /doc/api
parent734df1bb504aedec6a5668567de808b549a84749 (diff)
downloadgitlab-ce-6dbcb880cc72f7511358612bbc76e2ab9ded14c5.tar.gz
Allow a project member to leave the projected through the APIremove-myself-from-project-api-7687
Diffstat (limited to 'doc/api')
-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.