This API is deprecated. Use the Problems API v2 instead.
Deletes a comment from the specified problem.
DELETE | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/problem/details/{problemId}/comments/{commentId} |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/problem/details/{problemId}/comments/{commentId} |
To execute this request, you need an access token with DataExport
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the problem where you want to delete the comment.
The ID of the comment to delete.
In this example, the request deletes the comment with ID 2216103859600298777_1538400720000 from the problem with ID 2307087411653364173_1538400720000V2.
The API token is passed in the Authorization header.
curl -X DELETE \https://mySampleEnv.live.dynatrace.com/api/v1/problem/details/2307087411653364173_1538400720000V2/comments/2216103859600298777_1538400720000 \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/v1/problem/details/2307087411653364173_1538400720000V2/comments/2216103859600298777_1538400720000
204