Posts a comment on the specified problem.
The request consumes an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/comments |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/problems/{problemId}/comments |
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.
The ID of the required problem.
The JSON body of the request. Contains the comment to be added.
CommentRequestDtoImpl
objectThe context of the comment.
The text of the comment.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"context": "string","message": "string"}
Success. The comment has been added.