Skip to main content

Execute_RemoveInsurance

Description

Cancels the specified insurance for the entity and sends a cancellation message. If the entity is not enrolled in the specified insurance, a warning log is printed and nothing happens.

Parameters

ParameterDescription
BaseObjectThe entity to cancel insurance for (Self or Target).
S1Insurance ID (Insurance.json Id).

Examples

DescriptionBaseObjectCommandS1
Self cancels life insuranceSelfRemoveInsuranceInsurance_Life
Target cancels life insuranceTargetRemoveInsuranceInsurance_Life
Self cancels vehicle insuranceSelfRemoveInsuranceInsurance_Vehicle
Target cancels health insuranceTargetRemoveInsuranceInsurance_Health