Profile

Generate the 2FA recovery codes

Changed on

Generates the 2FA recovery codes.

post/v3/me/2fa-recovery-codes

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/me/2fa-recovery-codes
  • Auth
    HTTP bearer

Request body

twoFactorCodestring required

Response

OK

recoveryCodesstring[] required

Changes

    • breaking

      added required request body

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • info

      the response property became required for the status

    • breaking

      removed the media type text/json for the response with the status

    • warning

      deleted the header request parameter Authorization

    • info

      api operation id post/v3/me/2fa-recovery-codes removed and replaced with Generate2faRecoveryCodesProfile

    • info

      the endpoint scheme security JWT was added to the API

    • info

      api tag Profile added

    • info

      api tag Users removed