summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-21 06:08:28 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-21 06:08:28 +0000
commit8ac5fc8deebee73d7492f0fb8d825ccef3b01870 (patch)
tree5ff44060ba5304e5bde20a108f4724f347ba42a3 /doc
parent9c1df7bcf10e362442057b1df43a753b621d85ee (diff)
downloadgitlab-ce-8ac5fc8deebee73d7492f0fb8d825ccef3b01870.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/api/users.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index a84b236d1e3..ddd7de58228 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -2011,7 +2011,7 @@ Administrators cannot disable 2FA for their own user account or other administra
administrator's 2FA [using the Rails console](../security/two_factor_authentication.md#for-a-single-user).
```plaintext
-PATCH /user/:id/disable_two_factor
+PATCH /users/:id/disable_two_factor
```
Parameters:
@@ -2021,7 +2021,7 @@ Parameters:
| `id` | integer | yes | The ID of the user |
```shell
-curl --request PATCH --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/user/1/disable_two_factor"
+curl --request PATCH --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/users/1/disable_two_factor"
```
Returns: