social-common / pragma.account / AccountPlugin / onAccountDelete /

onAccountDelete #

abstract suspend fun onAccountDelete(pragmaAccount: PragmaAccount)

Called before an account is deleted. Use this to perform any actions just before a user is deleted.

Used by

  • AccountService.deleteAccountOperatorV1
  • AccountService.deleteAccountPartnerV1
  • AccountService.deleteAccountServiceV1

Parameters #

pragmaAccount

PragmaAccount of the user to be deleted