Delete an incident
DELETE/company/issues/:id
Permanently delete an incident and all its associated data. This action is irreversible and should be used with caution.
Use Cases:
- Delete tickets created by mistake
- Cleanup of resolved incidents (according to retention policies)
Related Logic: ctrl.delete() in routes.js
Request
Responses
- 200
- 401
- 404
Incidence successfully deleted. Returns the ID of the deleted incidence.
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.