Mark incident as resolved
POST/company/issues/:id/resolve
Change the status of an issue to resolved. This action records the current UTC date/time as the resolution moment.
Use cases:
- Close tickets when the problem has been solved
- Update issue status in workflows
- Generate resolution time metrics
Related logic: ctrl.setResolved() in routes.js with checkUTC middleware
Request
Responses
- 200
- 401
- 404
Incidence marked as successfully resolved. Returns the updated details of the incident.
Unauthorized. The JWT token is invalid or has expired. Include a valid token in the Authorization header.
Incident not found. Verify that the provided ID is correct and belongs to the company.