Deletes the specified comment on a problem.
| DELETE | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/comments/{commentId} |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/problems/{problemId}/comments/{commentId} |
To execute this request, you need an access token with problems.write scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| problemId | string | The ID of the required problem. | path | required |
| commentId | string | The ID of the required comment. | path | required |
| Code | Type | Description |
|---|---|---|
| 204 | - | Success. The comment has been deleted. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |