curl --request DELETE \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/events/{eventId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "claim"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300",
"deleted": true
}Events
Delete Event
Deletes a Field Model V1 event by ID.
The type field is required in the request body for permission resolution.
Use force: true to bypass financial transaction checks.
Required permission: company.claim:delete or company.incident:delete
(determined by type)
DELETE
/
api
/
v1
/
external
/
companies
/
{companyId}
/
events
/
{eventId}
curl --request DELETE \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/events/{eventId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "claim"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440300",
"deleted": true
}Authorizations
API key authentication. Include your API key in the Authorization header.
Path Parameters
Company identifier
The ID of the event to delete
Body
application/json
Was this page helpful?
