Problems API - PUT a comment

Updates the specified comment on a problem.

The request consumes an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

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}

Authentication

To execute this request, you need the Access problem and event feed, metrics, and topology (DataExport) 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 problem the comment is assigned to.

path required
commentId string

The ID of the comment you're updating.

path required
body CommentRequestDtoImpl

The fields that should be updated.

body optional

The CommentRequestDtoImpl object

Element Type Description Required
message string

The content of the comment.

optional
context string

The context of the comment.

optional

Response format

A successful request doesn't return any content.