cURL
curl --request POST \ --url https://sandbox.yasmina.ai/api/v1/life-snp/policies/{lifePolicy}/cancellation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form cancellation_document='@example-file'
{ "code": "40010", "message": "Policy is already canceled" }
Cancel a Life S&P policy (e.g., within cooling-off period).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Supporting document stating reason for cancellation.
Cancellation success