Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-27 15:10:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-27 15:10:56 +0300
commit0afd7f18171f70cb8f4296ff9a32381c6919027f (patch)
treebb06aa12dc2060b987ec581a997b7464dff220a7 /doc/api/members.md
parentf0aaec1f670ca31d6d438556c3b7327699cbe8ef (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/members.md')
-rw-r--r--doc/api/members.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/members.md b/doc/api/members.md
index 2a70e35b287..1f2e56a5dd6 100644
--- a/doc/api/members.md
+++ b/doc/api/members.md
@@ -415,6 +415,7 @@ POST /projects/:id/members
| `user_id` | integer/string | yes | The user ID of the new member or multiple IDs separated by commas |
| `access_level` | integer | yes | A valid access level |
| `expires_at` | string | no | A date string in the format `YEAR-MONTH-DAY` |
+| `invite_source` | string | no | The source of the invitation that starts the member creation process. See [this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/327120). |
```shell
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --data "user_id=1&access_level=30" "https://gitlab.example.com/api/v4/groups/:id/members"