createBackupCodes

Generates backup codes for the current user's account.

Backup codes are single-use recovery codes that can be used for authentication when the user's primary two-factor authentication method (like TOTP or SMS) is unavailable. These codes should be stored securely by the user.

Return

A ClerkResult containing the BackupCodeResource with the generated backup codes on success, or a ClerkErrorResponse on failure