Webhook
Connected Account Deleted
Triggered when a connected account is deleted
Body·
application/json
- Type: stringenvironment
_id min length:1max length:32Pattern: ^env_requiredThe environment ID where the event occurred
- Type: stringidmin length:1max length:32
Pattern: ^evt_requiredUnique identifier for the webhook event (must be prefixed with "evt_")
- Type: stringenumobjectrequired
The type of object that triggered the webhook
values- Organization
- Connection
- Role
- Directory
- Directory
User - Directory
Group - Permission
- Org
Membership - User
- Type: stringFormat: date-timeoccurred
_at requiredWhen the event occurred (ISO 8601 format)
- Type: stringspec
_version Pattern: ^[0-9]+$requiredThe webhook specification version
- Type: stringenumtyperequired
The event type
values- organization
.created - organization
.updated - organization
.deleted - organization
.sso _created - organization
.sso _deleted
- Type: objectdata
The event payload (structure varies by event type)
- Type: stringdisplay
_name min length:1max length:200Human-readable display name for the event
- Type: stringorganization
_id min length:1max length:32Pattern: ^org_The organization ID (if applicable)
Responses
- 200
Webhook received successfully
Request Example for postconnected_account.deleted
{
"spec_version": "1",
"id": "evt_101653010731500290",
"type": "connected_account.deleted",
"object": "ConnectedAccount",
"occurred_at": "2025-12-02T06:31:55.954027187Z",
"environment_id": "env_88640229614813449",
"display_name": "connected account deleted",
"data": {
"authorization_type": "OAUTH",
"connection_id": "conn_101644109747323155",
"id": "ca_101649788113519113",
"identifier": "Clark",
"last_used_at": "2025-12-02T06:00:01.374253Z",
"provider": "GOOGLE_ADS",
"status": "ACTIVE",
"token_expires_at": "2025-12-02T06:59:57.237447Z"
}
}
No Body