Marks a defect as deleted.
Deleted defects:
This operation generates an audit record.
Use this endpoint when you need to:
curl -X DELETE https://api.hawzu.com/api/v1/workspace/{workspaceId}/project/{projectId}/defect/{defectId} \
-H "Authorization: Bearer YOUR_API_TOKEN"| Parameter | Required | Description |
|---|---|---|
workspaceId | ✅ Yes | The ID of the workspace to delete the defect for |
projectId | ✅ Yes | The ID of the project to delete the defect for |
defectId | ✅ Yes | The ID of the defect to delete |
| Header | Required | Description |
|---|---|---|
Authorization | ✅ Yes | Bearer token in the format Bearer <API_TOKEN> |
{
"data": {
"id": "def_3001",
"project_id": "proj_101",
"title": "Login fails with valid credentials",
"status": "DELETED",
"created_at": "2026-02-01T00:00:00Z",
"updated_at": "2026-02-11T15:00:00Z"
}
}