put
https://vision-api.truepic.{tld}/v3/inspections//inspection-type
The new inspection type must be one that is assigned to the inspection's team. Changing the type deletes any photos/videos already uploaded, automatically re-sends the request email/text to the customer, and sets the inspection status to Created. The type of a Closed or Canceled inspection can't be changed. Any unpromoted AI Analysis test data on the inspection is hard-deleted, because it was produced from the old type's configuration, and the change is refused while a test is queued or running. That refusal is a 409 carrying test_run_in_progress, or test_data_not_removable when some of the data can no longer be removed. Branch on the code, not the status.

