Problems API - PUT a comment

Updates the specified comment on a problem.

The request consumes an application/json payload.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/problems/{problemId}/comments/{commentId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/comments/{commentId}
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/problems/{problemId}/comments/{commentId}

Authentication

To execute this request, you need the Write problems (problems.write) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

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
body CommentRequestDtoImpl

The JSON body of the request. Contains the updated comment.

body optional

Body format

The CommentRequestDtoImpl object

Element Type Description Required
message string

The text of the comment.

required
context string

The context of the comment.

optional

Response

Response codes

Code Description
204

Success. The comment has been updated.

Response body

A successful request doesn't return any content.