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
| Parameter | Description |
|---|
| BaseObject | The entity to cancel insurance for (Self or Target). |
| S1 | Insurance ID (Insurance.json Id). |
Examples
| Description | BaseObject | Command | S1 |
|---|
| Self cancels life insurance | Self | RemoveInsurance | Insurance_Life |
| Target cancels life insurance | Target | RemoveInsurance | Insurance_Life |
| Self cancels vehicle insurance | Self | RemoveInsurance | Insurance_Vehicle |
| Target cancels health insurance | Target | RemoveInsurance | Insurance_Health |