Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
insured
/
{insuredId}
Delete Insured
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/insured/{insuredId} \
  --header 'Authorization: <api-key>'
{
"id": "550e8400-e29b-41d4-a716-446655440002",
"deleted": true
}

Authorizations

Authorization
string
header
required

Use format: ApiKey <your-api-key>

Path Parameters

companyId
string<uuid>
required

Company identifier

insuredId
string<uuid>
required

The ID of the insured to delete

Response

Insured deleted successfully

id
string<uuid>

The ID of the deleted insured

deleted
boolean

Confirmation that the insured was deleted