Skip to main content
DELETE
Delete Entity

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

entityType
enum<string>
required

Field Model V1 entity type (lowercase kebab-case URL slug). One of the six CRUD entity types: event, exposure, quote, submission, person, organization. policy is NOT valid here — Policy has no generic CRUD (its writes go through the policy transaction endpoints), though it does have a read-only /configuration schema.

Available options:
event,
exposure,
quote,
submission,
person,
organization
entityId
string<uuid>
required

Entity identifier

Query Parameters

expectedEntityHash
string

SHA256 of the canonical complete external GET envelope. A stale preimage returns 409 without deleting the entity.

Pattern: ^[a-f0-9]{64}$
expectedConfigurationHash
string

Pin configuration metadata's contentHash for the delete. Checked while the configuration-transition shared lock is held.

Pattern: ^[a-f0-9]{64}$

Response

Entity deleted successfully

id
string<uuid>

The ID of the deleted entity

deleted
boolean

Confirmation that the entity was deleted