put https://<subdomain>.huvrdata.app/api/defects//
Update the defect object. After the initial review of a defect, certain fields are locked.
These fields are:
- asset
- component
- location_zone
- location_code
- cml
- severity
- type
- sub_type
Only users with defect_edit_protected
permission can edit these fields after the initial review.
Subsequent inspections can create a new defect and link them to the original defects.
Required permissions:
- IsAuthenticated
- WorkspaceRequired
- HasRolePermissions::defect_edit