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 in error
- Clean up 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.
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.