Remove an incident comment
Delete an incident comment permanently. Deleting a comment can't be undone.
The ID of the incident the incident comment belongs to.
The ID of the incident comment to remove.
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Bearer $TOKEN
{
"errors": "Invalid Team API token. How to find your Team API token: https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-an-incidents-api-token"
}
{
"errors": "This API token is read-only and cannot be used for write operations."
}
The incident comment is deleted. The response has no body.
The API token is missing or invalid.
The token is read-only, your role doesn't allow the action, or the token can't be used for this API. A team member posted the comment, so only that member can edit or delete it, with an OAuth token. An API token can edit and delete only comments posted with an API token.
The incident comment doesn't exist, or the token can't access it.
Example cURL