Skip to main content
DELETE
/
api
/
v1
/
external
/
companies
/
{companyId}
/
notes
/
{noteId}
Delete Note
curl --request DELETE \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/notes/{noteId} \
  --header 'Authorization: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440020",
  "deleted": true
}

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

noteId
string<uuid>
required

Note identifier

Query Parameters

entityType
enum<string>
required

Parent entity type (PascalCase). Selects the per-entity permission enforced for the request and scopes the note to its parent entity.

Available options:
Event,
Exposure,
Quote,
Submission,
Person,
Organization,
Policy

Response

Note deleted successfully

id
string<uuid>

The ID of the deleted note

deleted
boolean

Confirmation that the note was deleted