Delete or unrelate a photo

Deletes a photo or unrelates it from a job inspection line item, depending on whether the job_inspection_lineitems query parameter is provided.

  • Without job_inspection_lineitems: permanently deletes the photo record and its associated files from storage. Returns 204 No Content.
  • With job_inspection_lineitems: removes the association between the photo and the specified inspection line item without deleting the photo itself. Returns 200 with a boolean true body.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Unique identifier of the photo.

Query Params
integer

When provided, unrelates the photo from the specified job inspection line item instead of deleting it. The line item's last generated report is also invalidated.

Responses

204

Photo permanently deleted. Returned when job_inspection_lineitems is not provided.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json