Commit 566de5ab06d1c29ac632d2fbd0f4440788fe1339
1 parent
ce6436b9
Exists in
master
and in
4 other branches
update api documentation for delete team member
correctly describes the new behavior
Showing
1 changed file
with
5 additions
and
2 deletions
Show diff stats
doc/api/projects.md
@@ -191,7 +191,10 @@ Parameters: | @@ -191,7 +191,10 @@ Parameters: | ||
191 | + `id` (required) - The ID of a project | 191 | + `id` (required) - The ID of a project |
192 | + `user_id` (required) - The ID of a team member | 192 | + `user_id` (required) - The ID of a team member |
193 | 193 | ||
194 | -Status code `200` will be returned on success. | 194 | +Status code `200 OK` will be returned on success. This method is idempotent and call be called multiple |
195 | +times with the same parameters. Revoking team membership for a user who is not currently a team member is | ||
196 | +considered success. Please note that the returned JSON currently differs slightly. Thus you should not | ||
197 | +rely on the returned JSON structure. | ||
195 | 198 | ||
196 | ## List project hooks | 199 | ## List project hooks |
197 | 200 | ||
@@ -215,7 +218,7 @@ Get hook for project | @@ -215,7 +218,7 @@ Get hook for project | ||
215 | GET /projects/:id/hooks/:hook_id | 218 | GET /projects/:id/hooks/:hook_id |
216 | ``` | 219 | ``` |
217 | 220 | ||
218 | -Parameters: | 221 | +Parameters:§ |
219 | 222 | ||
220 | + `id` (required) - The ID of a project | 223 | + `id` (required) - The ID of a project |
221 | + `hook_id` (required) - The ID of a project hook | 224 | + `hook_id` (required) - The ID of a project hook |