You can only delete a comment created by the API.
Explore documentation
Delete an existing comment
Permanently delete a comment from an incident.
DELETE
https://uptime.betterstack.com/api/v2/incidents/{incident_id}/comments/{comment_id}
URL parameters
incident_id
required
string
The ID of the incident
comment_id
required
string
The ID of the comment
Headers
Authorization
required
string
Bearer $TOKEN
204
Returns empty body
Example cURL
Example
curl --request DELETE \
--url https://uptime.betterstack.com/api/v2/incidents/1/comments/1 \
--header "Authorization: Bearer $TOKEN"