---
title: "Connection deleted"
method: POST
path: "connection.deleted"
---

# Connection deleted

`POST connection.deleted` (webhook)

When a Connection is deleted.

## Payload

- union
  - GeneralConnectionsDeletedFullWebhook
    - `connection_id` string, required
    - `data` ConnectionDeletedSchema, required
      - `deleted_date` string, date-time, required: The date the connection was created.
    - `event_type` 'connection.deleted', required
    - `integration_name` string, required
    - `integration_type` string, required
  - GeneralConnectionsDeletedTruncatedWebhook
    - `connection_id` string, required
    - `data` GeneralConnectionsDeletedTruncatedData, required
      - `id` string: The record this event is about. Absent on connection webhooks, which carry dates rather than a row.
    - `event_type` 'connection.deleted', required
    - `integration_name` string, required
    - `integration_type` string, required
    - `data_truncated` boolean, required: Always true on this shape. The event was too large to send in full, so `data` holds only the `id` and `previous_attributes` is empty.
    - `data_url` string, required: Called with your usual API key, it returns a download link for this event exactly as it would have been delivered.

## Acknowledgement `200`

Success

---

[API](https://skmtc.dev/trackstarhq/apis/trackstar-api.md) - [All operations](https://skmtc.dev/trackstarhq/apis/trackstar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trackstarhq/apis/trackstar-api/revisions/08647f790594?raw)
