Function authy::api::user::delete [] [src]

pub fn delete(client: &Client, id: u32) -> Result<Status, AuthyError>

Deletes an Authy user.

If you want to remove users from your application you can use the delete API. Note, deleting a user will NOT immediately disable token verifications, as a 24 hour delay is typical before the user is permanently removed from the application. If you need to immediately disable a user and have not built this functionality into your user management system, the Authy dashboard "Delete user" function can be used, and after approving the email confirmation, 2FA for the user will be immediately disabled.

Please see the Authy documentation for more details: https://www.twilio.com/docs/api/authy/authy-totp#deleting-user