Webhooks for user deletion/deactivation?


(Josh) #1

Is there an easy way to add webhooks for user deletion and deactivation?

I think I’ve found the relevant code but it appears to only list webhooks for these actions:

user_logged_out
user_created
user_logged_in
user_approved
user_updated

We’re integrating separate applications that get updated with user data each time the Discourse user changes, so I’m looking for a way to remove users’ access from the other systems when the user accounts are deactivated/deleted from Discourse.


(Jeff Atwood) #2

Sure not a bad idea to put this on someone’s to-do list … maybe @vinothkannans? If it is easy we can just knock it out.


(Josh) #4

Thanks, that would be great, if it’s possible.


(Vinoth Kannan) #5

PR created:


(Jeff Atwood) #6

This topic was automatically closed after 3 days. New replies are no longer allowed.