cURL
curl --request POST \ --url https://sandbox.yasmina.ai/api/v1/horse/policies/{horsePolicy}/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 policy
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