Soft-delete a comment
DELETE /comments/{id}
DELETE
/comments/{id}
Authors can always delete their own (requires
comments.delete.own, Base default). Moderators can delete
any comment (requires comments.delete.any, Admin only).
Soft-deletes via deleted_at + empties body/body_html; the
counter trigger decrements posts.comment_count.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Deleted
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
error
required
Human-readable error summary
string
Example
the request could not be completedResource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed