deleteFactor

Deletes a Factor with the given sid. This method calls Verify Push API to delete the factor and will remove the factor from local storage if the API call succeeds.

Parameters

error
Block to be called when the operation fails with the cause of failure
factorSid
Sid of the Factor to be deleted
success
Block to be called when the operation succeeds
abstract fun deleteFactor(factorSid: String, success: () -> Unit, error: (TwilioVerifyException) -> Unit)