ackDB

Hard-delete a contact (full cascade)

Irreversible. Deletes the edge and everything that hangs off it, in ONE transaction, in FK order:

  1. entity_events.contact_id → NULL, person_id kept — the events happened; the human keeps them on their timeline and only loses the (wrong) edge pointer
  2. contact_identity_links → deleted
  3. contact_traits → deleted
  4. member_assignments (relationship ownership) → deleted
  5. the contact row → deleted

The PERSON survives (they may hold other affiliations, keys and events). Counts are reported honestly. For a reversible removal use the soft delete at DELETE /entities/{entityId}/contacts/{contactId}.

delete/api/v1/ackdb/contacts/{contactId}

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

contactIdstring required

Contact id (ULID = contacts.contact_id) — the affiliation edge.

Response

{ data: { contactId, entityId, personId, eventsDetached, identityLinksDeleted, traitsDeleted, memberAssignmentsDeleted } }.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.