cURL
curl --request DELETE \ --url https://app.aiinsurance.io/api/external/companies/{companyId}/insureds/{insuredId} \ --header 'Authorization: <api-key>'
200
success
{ "id": "550e8400-e29b-41d4-a716-446655440002", "deleted": true}
Soft deletes an insured (exposure) by ID.
The insured will be marked as deleted and will no longer appear in list operations.
Required permission: insured:delete
insured:delete
Use format: ApiKey <your-api-key>
ApiKey <your-api-key>
Company identifier
The ID of the insured to delete
Insured deleted successfully
The ID of the deleted insured
Confirmation that the insured was deleted
Was this page helpful?