Mark incident as resolved
POST/company/issues/:id/resolve
Change the status of an incident 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 incident 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 incidence.
Response Headers
Unauthorized. The JWT token is invalid or has expired. Include a valid token in the Authorization header.
Response Headers
Incident not found. Verify that the provided ID is correct and belongs to the company.