---
layout: default
title: 'wp comment spam'
display_global_parameters: true
---

<small>[Commands](/commands/) &raquo; [comment](/commands/comment/) &raquo; spam</small>

`wp comment spam` - Mark a comment as spam.

<small>Quick links: <a href="https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+label%3Acommand%3Acomment-spam+sort%3Aupdated-desc">Github issues</a></small>

<hr />

### OPTIONS

&lt;id&gt;...
: The IDs of the comments to mark as spam.

### EXAMPLES

    # Spam comment.
    $ wp comment spam 1337
    Success: Marked as spam comment 1337.



