diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-29 21:09:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-29 21:09:17 +0300 |
commit | 2516f0d87bf4504cf0d626a0584b2eebe459749b (patch) | |
tree | 52d1188485f7362da9d87b526e14e49be00fa9a1 /doc/api/members.md | |
parent | 10052df7536415c192788799b294c9a5ecf07ce7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/members.md')
-rw-r--r-- | doc/api/members.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/members.md b/doc/api/members.md index 47b686d9275..87d8fc64bad 100644 --- a/doc/api/members.md +++ b/doc/api/members.md @@ -319,7 +319,7 @@ POST /projects/:id/members | `id` | integer/string | yes | The ID or [URL-encoded path of the project or group](README.md#namespaced-path-encoding) owned by the authenticated user | | `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 | +| `expires_at` | string | no | A date string in the format `YEAR-MONTH-DAY` | ```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" @@ -357,7 +357,7 @@ PUT /projects/:id/members/:user_id | `id` | integer/string | yes | The ID or [URL-encoded path of the project or group](README.md#namespaced-path-encoding) owned by the authenticated user | | `user_id` | integer | yes | The user ID of the member | | `access_level` | integer | yes | A valid access level | -| `expires_at` | string | no | A date string in the format YEAR-MONTH-DAY | +| `expires_at` | string | no | A date string in the format `YEAR-MONTH-DAY` | ```shell curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/groups/:id/members/:user_id?access_level=40" |