cURL
curl --request POST \ --url https://sandbox.yasmina.ai/api/v2/clients/policies/cancellation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form cancellation_document='@example-file'
{ "code": "40010", "message": "Policy is already canceled" }
Cancel policy by VIN
Documentation IndexFetch the complete documentation index at: https://docs.yasmina.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.yasmina.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Supporting document of why policy was deleted. Could be resignation document.
Cancellation success