# Replace the recovery codes with a fresh set

Requires a current TOTP code or an unused recovery code. Every previous code stops working the moment this returns, so a set that may have been photographed…

This endpoint is described in full, with every parameter and response, in the OpenAPI description: https://docs.trustivan.com/openapi.yaml

Page: https://docs.trustivan.com/api-reference/mfa/replace-the-recovery-codes-with-a-fresh-set
