REST API Filter for Users marked as spam / Mark users as spam
-
Hi, I am working on a tool to ease the pain of managing public multisite installations. Having registration open to the public we do face the unfortunately higher amount of spam. We are quite good to indetify them oftern minutes after their first post but than removal takes it time. To speed up the cleaning I prefer a Tinderstyle swipe on the phone over fireing up the original WP-Network-Backend.
But it seems REST API
/wp/v2/users?context=edit
does not provide a way to have the API allowing me toa) exclude users already marked *Spam* (they stay as regular “Subscriber”-Users in the list)
b) change the status of a given user to *Spammer*Is this just impossible out of the box or have I missed the single important reading somewhere?
Thanks for helping!
- The topic ‘REST API Filter for Users marked as spam / Mark users as spam’ is closed to new replies.