Webhooks for user deletion/deactivation?

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.

4 Likes

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.

6 Likes

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

PR created:

https://github.com/discourse/discourse/pull/6124

7 Likes

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