Docs clarify API to share project to a group
This commit is contained in:
parent
50fda506e3
commit
fbc9a1ac69
2 changed files with 5 additions and 1 deletions
|
@ -173,3 +173,7 @@ DELETE /projects/:id/members/:user_id
|
|||
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/groups/:id/members/:user_id
|
||||
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/projects/:id/members/:user_id
|
||||
```
|
||||
|
||||
## Give a group access to a project
|
||||
|
||||
Look at [share project with group](projects.md#share-project-with-group)
|
||||
|
|
|
@ -1198,7 +1198,7 @@ POST /projects/:id/share
|
|||
| --------- | ---- | -------- | ----------- |
|
||||
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
|
||||
| `group_id` | integer | yes | The ID of the group to share with |
|
||||
| `group_access` | integer | yes | The permissions level to grant the group |
|
||||
| `group_access` | integer | yes | The [permissions level](members.md) to grant the group |
|
||||
| `expires_at` | string | no | Share expiration date in ISO 8601 format: 2016-09-26 |
|
||||
|
||||
## Delete a shared project link within a group
|
||||
|
|
Loading…
Reference in a new issue