wp user spam

Marks one or more users as spam on multisite.

wp user spam <user>...

Options

<user>...

The user login, user email, or user ID of the user(s) to mark as spam.

Examples

# Mark user as spam. $ wp user spam 123 User 123 marked as spam. Success: Spammed 1 of 1 users.