Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
v1
/
events
/
{eventId}
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/v1/events/{eventId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "claim"
}
'
{
  "id": "550e8400-e29b-41d4-a716-446655440300",
  "deleted": true
}

Authorizations

Authorization
string
header
required

API key authentication. Include your key in the Authorization header: Authorization: ApiKey YOUR-API-KEY

Path Parameters

companyId
string<uuid>
required

Company identifier

eventId
string<uuid>
required

The ID of the event to delete

Body

application/json
type
enum<string>
required

Event type (required for permission resolution)

Available options:
claim,
incident
force
boolean

Bypass financial transaction checks

Response

Event deleted successfully

id
string<uuid>

The ID of the deleted event

deleted
boolean

Confirmation that the event was deleted