Commit 5bd00257 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

API doc: Share project with group

parent 1eba9366
......@@ -484,3 +484,20 @@ DELETE /projects/:id/fork
Parameter:
+ `id` (required) - The ID of the project
### Share project with group
Shares project with group. In order to share project with several groups - do several requests.
You must be a master or owner of project in order to perform action
```
POST /projects/:id/share
```
Parameters:
+ `id` (required) - The ID of a project
+ `group_id` (required) - The ID of a group to share with
+ `group_access` (required) - Group access level
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment