Skip to main content
PATCH
/
api
/
v1
/
external
/
companies
/
{companyId}
/
entities
/
exposure
/
{entityId}
curl --request PATCH \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/entities/exposure/{entityId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "exposureName": "Acme Corp Headquarters"
}
'
{
  "id": "550e8400-e29b-41d4-a716-446655440301"
}

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

entityId
string<uuid>
required

Entity identifier

Body

application/json

Flat JSON object with field referenceIds as keys (merged onto existing data)

Response

Exposure updated successfully

id
string<uuid>

The ID of the updated entity