Files
NodeBB/public/openapi/read/confirm/code.yaml
Barış Soner Uşaklı 3c0f0f9c3a Revert "Squashed commit of the following:"
This reverts commit c51022993b.
2026-02-14 15:44:39 -05:00

32 lines
977 B
YAML

get:
tags:
- authentication
summary: Verify an email address
parameters:
- in: path
name: code
schema:
type: string
required: true
description: a valid confirmation code
example: f8c4a54a-47ae-40f5-a0a5-356d6a35c24e
responses:
"200":
description: Email address verified, or confirmation code was incorrect
content:
application/json:
schema:
allOf:
- type: object
properties:
title:
type: string
error:
type: string
description: Translation key for client-side localisation
alreadyValidated:
type: boolean
description: set to true if the email was already validated
required:
- title
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps