Delete an external insurance record
Deletes a record of a policy bought outside MagicDoor. The record is kept but marked deleted, and if it was the lease's active coverage the lease is left uncovered and marked as having had insurance that lapsed. Calling it again on an already deleted record changes nothing. Requires the leasing_insurance:write permission.
Authorization
AuthorizationstringrequiredPath parameters
externalIdstringrequiredThe external insurance record to act on.
Response
200 · The deleted record, with `deleted` now set.
idstringThe external insurance record's id.
leaseIdstringThe lease this policy covers.
companyIdstringThe company that owns the lease.
carrierNamestringThe insurance company that issued the policy. An empty string when none was recorded.
policyNumberstringThe policy number taken from the document. Absent when none was recorded.
coverageAmountnumberCoverage in dollars. Absent when none was recorded.
policyStartDatestring · date-timeWhen the policy takes effect.
policyEndDatestring · date-timeWhen the policy expires.
stateenum<string>Where the record stands with the reviewer. A new record starts at pending; only an approved record counts as coverage for the lease.
rejectionReasonstringWhy the record was rejected. Absent unless state is rejected and a reason was given.
insurancePolicyFileobjectThe uploaded proof of insurance. Absent when the record has no document attached.
deletedstring · date-timeWhen the record was deleted. Absent while the record is live.
createdstring · date-timeWhen the record was created.
updatedstring · date-timeWhen the record last changed.