cURL
curl --request DELETE \ --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/policies/{policyId} \ --header 'Authorization: <api-key>'
200
success
{ "id": "550e8400-e29b-41d4-a716-446655440001", "deleted": true }
Soft-deletes a basic policy.
Required permission: policy:delete
policy:delete
Documentation IndexFetch the complete documentation index at: https://docs.aiinsurance.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Include your API key in the Authorization header.
Company identifier
Policy identifier
Policy deleted
Was this page helpful?