This API is deprecated. Use the Problems API v2 instead.
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/v1/problem/details/{problemId}/close |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/problem/details/{problemId}/close |
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 to be closed.
The closing comment.
ProblemCloseResult
objectThe result of closing a problem.
The timestamp when the closure was triggered.
The problem is in process of closing (true
) or closed (false
).
The ID of the problem.
ProblemComment
objectThe comment to the problem.
The text of the comment.
The context of the comment.
Could be any textual comment. You can only set it via REST API.
The timestamp of the comment creation, in UTC milliseconds.
The ID of the comment.
The author of the comment.
{"closeTimestamp": 1,"closing": true,"comment": {"content": "string","context": "string","createdAtTimestamp": 1,"id": "string","userName": "string"},"problemId": "string"}