Generate OTP

Generate an OTP secret for 2FA setup.

Method: POST Path: /accounts/otp/status

Responses

201: Created

description: Successful operation.
content:
  application/json:
    schema:
      $ref: '#/components/schemas/GenerateOPTResponseDTO'

401: Unauthorized

description: Unauthorized.

403: Forbidden

description: Forbidden.

500: Internal Server Error

description: Internal server error.
content:
  application/json:
    schema:
      $ref: '#/components/schemas/InternalServerErrorDTO'

Last updated

Was this helpful?