Cancel

The Cancel endpoint enables the RentalCover server to cancel a quoted or purchased policy assuming the FromDate has not yet passed.

Endpoint: /insurances/cancel

Method: DELETE or POST

(Using POST allows a CancelReason to be Posted to the endpoint)

curl -i -X DELETE \
-H "X_API_KEY: [my-api-key]" \
-H "Content-Type: application/json" \
https://api-staging.rentalcover.com/insurances/cancel/AB12-345C-INS

Request Parameters

reference string required

The RentalCover.com booking reference (passed in endpoint URL)

CancelReason string [500] required for POST method

Reason for cancelling the policy

Last updated