Closes the specified problem and adds the closing comment.
The request consumes and produces an application/json
payload.
POST | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/close |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/problems/{problemId}/close |
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 closing comment on the problem.
ProblemCloseRequestDtoImpl
objectThe text of the closing comment.
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"message": "string"}
The problem is closed already the request hasn't been executed.
ProblemCloseResult
objectThe result of closing a problem.
The timestamp when the user triggered the closing.
True, if the problem is being closed.
The ID of the problem.
Comment
objectThe comment to a problem.
The user who wrote the comment.
The text of the comment.
The context of the comment.
The timestamp of comment creation, in UTC milliseconds.
The ID of the comment.
{"closeTimestamp": 1,"closing": true,"comment": {"authorName": "string","content": "string","context": "string","createdAtTimestamp": 1,"id": "string"},"problemId": "string"}