Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
exposure-types
/
{exposureTypeId}
Delete Exposure Type
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/exposure-types/{exposureTypeId} \
  --header 'Authorization: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440003",
  "deleted": true
}

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

exposureTypeId
string<uuid>
required

Exposure type identifier

Response

Exposure type deleted successfully

id
string<uuid>
required

The ID of the deleted exposure type

deleted
boolean
required

Always true