rozod
    Preparing search index...

    Variable postUsersUseridRecoveryCodesRegenerateConst Api Param Description

    postUsersUseridRecoveryCodesRegenerate: EndpointGeneric<
        { userId: number },
        { recoveryCodes: string[] },
        { password: string },
    > = ...

    POST https://twostepverification.roblox.com/v1/users/:userId/recovery-codes/regenerate Clears any existing recovery codes and generates a new batch of recovery codes. body The Roblox.TwoStepVerification.Api.RegenerateRecoveryCodesRequest. userId The user ID to generate recovery codes for. Two step verification recovery codes do not enforce that two step verification must be passed when logging in. At least one two step verification media type must be enabled to trigger the two step verification flow. Recovery codes are intended to be used to pass two step verification when the enabled media type is unavailable.

    Recovery codes generated by this endpoint do not have an expiration.

    Once a recovery code generated by this endpoint has been used it cannot be used again.