Updates one or more mutable fields of a defect.
This endpoint does not allow modification of immutable fields such as id, project_id, or created_at.
All updates generate audit records.
Use this endpoint when you need to:
curl -X PATCH 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 update the defect for |
projectId | ✅ Yes | The ID of the project to update the defect for |
defectId | ✅ Yes | The ID of the defect to update |
This endpoint accepts the following request body:
| Parameter | Required | Description |
|---|---|---|
status | ✅ Yes | The new status of the defect |
assignee_email | ✅ Yes | The email of the new assignee |
priority | ✅ Yes | The new priority of the defect |
| 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": "IN_PROGRESS",
"created_at": "2026-02-01T00:00:00Z",
"updated_at": "2026-02-11T15:00:00Z"
}
}