Cancel Insurance Policy (POST)

Cancel an insurance policy version. You can advance the cancellation date within the policy term, but you can’t postpone the cancellation.
Resource
1/connect/insurance/policies/policyId/cancel
Resource example
1https://yourInstance.salesforce.com/services/data/v67.0/connect/insurance/policies/0YTxx000000006TGAQ/cancel
Available version
63.0
HTTP methods
POST
Request body for POST
JSON example
1{
2   "effectiveDate": "2024-09-08",
3   "transactionRecord":{
4      "name" : "Cancel Transaction"
5   }
6}
Properties
Name Type Description Required or Optional Available Version
effectiveDate String Date on which the cancellation of the policy goes into effect. Required 63.0
transactionRecord Insurance Policy Transaction Input[] The JSON structure that overrides the transaction information. Optional 63.0
Response body for POST
Cancel Policy