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 Field Model V1 policy.
Required permission: company.policy:create
company.policy:create
API key authentication. Include your API key in the Authorization header.
Company identifier
Policy identifier
Policy deleted
Was this page helpful?