You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
891 B
YAML
34 lines
891 B
YAML
3 years ago
|
post:
|
||
|
tags:
|
||
|
- users
|
||
|
summary: validate a user's email address
|
||
|
description: |
|
||
|
Marks the passed-in user's email as confirmed.
|
||
|
This route is only accessible to administrators with the `admin:users` privilege (or superadmins)
|
||
|
parameters:
|
||
|
- in: path
|
||
|
required: true
|
||
|
name: uid
|
||
|
schema:
|
||
|
type: number
|
||
|
description: A valid user id
|
||
|
example: 1
|
||
|
- in: path
|
||
|
required: true
|
||
|
name: email
|
||
|
schema:
|
||
|
type: string
|
||
|
description: A valid email address
|
||
|
example: test@example.org
|
||
|
responses:
|
||
|
'200':
|
||
|
description: successfully confirmed a user email
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
type: object
|
||
|
properties:
|
||
|
status:
|
||
|
$ref: ../../../../../components/schemas/Status.yaml#/Status
|
||
|
response:
|
||
|
type: object
|