users
Add spam role for a User
Flag a user as spammer.
Spam Role Details:
- Requires admin or moderator privileges.
- Stops the user from creating new posts or comments, acting as a shadowban or block on activity.
- Existing content remains but is hidden from search/feeds.
put/api/users/{id}/spam
Path parameters
idinteger required
The ID of the user to assign the spam role.
Response
Spam role assigned to the user successfully