Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
exposures
/
{exposureId}
Delete Exposure
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/exposures/{exposureId} \
  --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

exposureId
string<uuid>
required

The ID of the exposure to delete

Response

Exposure deleted successfully

id
string<uuid>

The ID of the deleted exposure

deleted
boolean

Confirmation that the exposure was deleted