# Remove comment

Permanently delete a comment from an incident.

[info]
You can only delete a comment created by the API.
[/info]

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/incidents/{incident_id}/comments/{comment_id}"
method = "DELETE"

[[path_param]]
name = "incident_id"
description = "The ID of the incident"
required = true
type = "string"

[[path_param]]
name = "comment_id"
description = "The ID of the comment"
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 204
description = '''Returns empty body'''
body = ''''''
[/responses]

#### Example cURL 

```shell
[label Example]
curl --request DELETE \
  --url https://uptime.betterstack.com/api/v2/incidents/1/comments/1 \
  --header "Authorization: Bearer $TOKEN"
```