38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
post:
|
|
tags: [Verification, Auth]
|
|
summary: Resend verification code
|
|
description: |
|
|
Re-issues a verification challenge using the same request shape as `/verification`.
|
|
Cooldown and retry limits are enforced by backend verification storage policy.
|
|
operationId: verificationResendCode
|
|
security:
|
|
- bearerAuth: []
|
|
requestBody:
|
|
$ref: ./bodies/verification.yaml#/components/requestBodies/VerificationCodeBody
|
|
responses:
|
|
'202':
|
|
description: Verification code resent
|
|
content:
|
|
application/json:
|
|
schema:
|
|
allOf:
|
|
- $ref: ../response/response.yaml#/components/schemas/BaseResponse
|
|
- type: object
|
|
properties:
|
|
data:
|
|
$ref: ./response/verification.yaml#/components/schemas/VerificationResponseData
|
|
'400':
|
|
$ref: ../response/operation.yaml#/components/responses/BadRequest
|
|
'401':
|
|
$ref: ../response/operation.yaml#/components/responses/Unauthorized
|
|
'403':
|
|
$ref: ../response/operation.yaml#/components/responses/Forbidden
|
|
'404':
|
|
$ref: ../response/operation.yaml#/components/responses/NotFound
|
|
'409':
|
|
$ref: ../response/operation.yaml#/components/responses/Conflict
|
|
'429':
|
|
$ref: ../response/operation.yaml#/components/responses/TooManyRequests
|
|
'500':
|
|
$ref: ../response/operation.yaml#/components/responses/InternalServerError
|