Skip to main content
The AssociationDelete event fires when an association type definition is permanently removed from a sub-account. Deleting an association type also removes the ability to create new relations of that type. Supports contact-to-contact, contact-to-custom object, and custom object-to-custom object relationship types. Use this event to clean up dependent configurations in external systems or alert integrations that a relationship type they relied on no longer exists.

Payload

FieldTypeDescription
idstringUnique identifier of the deleted association definition
keystringUnique key that identified this association type (e.g., "custom_objects.buyer_to_property")
firstObjectKeystringObject type key for the first side of the deleted association
secondObjectKeystringObject type key for the second side of the deleted association
associationTypestringWhether the association was "USER_DEFINED" or system-defined
cardinalitystringRelationship cardinality that was configured, e.g. "MANY_TO_MANY"
locationIdstringSub-account ID where the association type existed

Example payload

{
  "id": "67ade73d1119d2ac7ad0c475",
  "key": "custom_objects.buyer_to_property",
  "firstObjectKey": "custom_objects.buyer",
  "secondObjectKey": "custom_objects.property",
  "associationType": "USER_DEFINED",
  "cardinality": "MANY_TO_MANY",
  "locationId": "eHy2cOSZxMQzQ6Yyvl8P"
}
Last modified on March 4, 2026