summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-09-09 14:04:11 -0700
committerStan Hu <stanhu@gmail.com>2018-09-10 22:41:53 -0700
commitced2a932d75272e25f172b879b08de2208ce4b5c (patch)
tree6e05813f0d28d3ccf110823ec128d7257813a5c1 /doc/api
parent2f990e3408d00cad473d8dcf8a4e49155cc3cc33 (diff)
downloadgitlab-ce-ced2a932d75272e25f172b879b08de2208ce4b5c.tar.gz
Add ability to skip user email confirmation with API
This gives admins the ability to send a `skip_confirmation` flag in the `POST /users/:id/email` API endpoint to skip the verification step and assume the given e-mail address is verified. Closes #50876
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/users.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index a8858468cab..51935280401 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -972,6 +972,7 @@ Parameters:
- `id` (required) - id of specified user
- `email` (required) - email address
+- `skip_confirmation` (optional) - Skip confirmation and assume e-mail is verified - true or false (default)
## Delete email for current user