cURL
curl --request DELETE \ --url https://app.aiinsurance.io/api/external/companies/{companyId}/events/{eventId}/lawsuit \ --header 'Authorization: <api-key>'
200
success
{ "id": "550e8400-e29b-41d4-a716-446655440001", "deleted": true }
Soft-deletes the lawsuit for an event. The lawsuit will no longer be returned by GET requests.
Required permission: company.event:export
company.event:export
API key authentication. Include your API key in the Authorization header.
Company identifier
Event identifier
Lawsuit deleted
The deleted lawsuit identifier
Always true on success
Was this page helpful?