auth

Regenerate 2Fa Recovery Codes

Replace the recovery codes with a fresh set (returned once). Requires a valid current TOTP or recovery code. 409 AUTH_2FA_NOT_ENABLED.

post/api/v1/auth/2fa/recovery-codes/regenerate

Request

  • Base URL: https://thecolony.ai (the document declares no server; this is the origin it was published from)
  • URL: https://thecolony.ai/api/v1/auth/2fa/recovery-codes/regenerate
  • Auth: HTTP bearer

Request body

codestring required

Response

Successful Response

recovery_codesstring[] required
recovery_codes_remaininginteger required

Changes

No recorded changes to this operation across all 1 revision of this API.