# Rest_Controller::delete_comment()

Delete a comment and the replies below it: its author, the post's manager or a site administrator.

```php
delete_comment( WP_REST_Request $request )
```

## Parameters

- `$request` (WP_REST_Request) Request.

## Return

`\WP_REST_Response|\WP_Error` 

## Changelog

| Version | Description |
| --- | --- |
| 1.6.2 | Introduced |
