Menu

Expand
Rate this page:

user_account_deleted

This event is triggered when a user account is deleted.

user_account_deleted will be generated when a user completes the self-service Authy account deletion process or when the user is automatically deleted after an Authy application removes the user and there is no other application associated with the user's Authy ID.

Event attributes

event The name of the event
objects.app.s_account_sid The Twilio ID of the account
objects.app.s_device_app The authentication application being used by the device; this will be authy, a custom branded customer app name, or an SDK-based app name
objects.app.s_id The ID of the customer app
objects.app.s_type The type of the customer app; either full or trial
objects.delete_request.s_status The status of the delete request. When this event is sent, the value of this attribute will be "performed"
objects.delete_request.t_last_notification_at The datetime of the last email that we sent to the user notifying them that the account is about to be deleted
objects.user.s_authy_id The user’s Authy ID
objects.user.as_authy_ids A list of Authy IDs associated with a user; a user may have multiple Authy IDs if they created and then merged multiple accounts
objects.user.b_banned Whether or not the user is banned
objects.user.s_country_code The country code of the user’s phone number
objects.user.s_locale The locale of the user
objects.user.s_phone_number The user’s phone number
request.id The unique ID of the request
time The datetime when the event happened

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif