let response = try await StytchB2B.recoveryCodes.rotate(B2BRecoveryCodesRotateParameters())
Recovery Codes
Rotate
Rotates the recovery codes for the current member’s account, invalidating the previous set and generating a new set. Calls the POST /sdk/v1/b2b/recovery_codes/rotate endpoint. Requires an active session.
let response = try await StytchB2B.recoveryCodes.rotate(B2BRecoveryCodesRotateParameters())