> ## Documentation Index
> Fetch the complete documentation index at: https://help.hoopai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Association Delete | Webhook Events

> Fires when an association type definition is permanently removed.

The `AssociationDelete` event fires when an association type definition is permanently removed from an 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

| Field             | Type     | Description                                                                                   |
| ----------------- | -------- | --------------------------------------------------------------------------------------------- |
| `id`              | `string` | Unique identifier of the deleted association definition                                       |
| `key`             | `string` | Unique key that identified this association type (e.g., `"custom_objects.buyer_to_property"`) |
| `firstObjectKey`  | `string` | Object type key for the first side of the deleted association                                 |
| `secondObjectKey` | `string` | Object type key for the second side of the deleted association                                |
| `associationType` | `string` | Whether the association was `"USER_DEFINED"` or system-defined                                |
| `cardinality`     | `string` | Relationship cardinality that was configured, e.g. `"MANY_TO_MANY"`                           |
| `locationId`      | `string` | Account ID where the association type existed                                                 |

## Example payload

```json theme={null}
{
  "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"
}
```

## Related

* [Association Create](/api-reference/webhooks/association-create) — fires when a new association type is defined
* [Associations API](/api-reference/associations/overview) — manage association definitions and relations
