How to anonymize user via API?


(Kenny Meyer) #1

I’m not finding any information on how to anonymize a Discourse user via the API on http://docs.discourse.org

Is that implemented, and if yes how would you do that?


(Kenny Meyer) #2

I found there’s PUT /admin/users/anonymize after doing some browsing in the code… but I can’t get it working.

UPDATE

Found it: PUT /admin/users/:user_id/anonymize


(Kenny Meyer) #3

Opened PR here: Add PUT /admin/users/:user_id/anonymize endpoint by kennym · Pull Request #4 · discourse/discourse_api_docs · GitHub