{
"event": "users-on-customers.delete",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"id": 123456,
"userId": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"customerReferenceId": "CUST-5001"
}
}Webhooks
User on customer deleted
Notifies when a user has been removed from a customer, or its customer has been deleted.
WEBHOOK
users-on-customers.delete
{
"event": "users-on-customers.delete",
"time": "2025-01-01T20:00:00.000Z",
"data": {
"id": 123456,
"userId": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"customerReferenceId": "CUST-5001"
}
}Headers
Sent with every delivery so the receiver can verify the request really comes from Debbie. The token is issued when the webhook is created — compare it with the stored value and reject deliveries that do not match.
Body
application/json
Webhook payload
Event "users-on-customers.delete"
Example:
"users-on-customers.delete"
Event dispatch time
Example:
"2025-01-01T20:00:00.000Z"
Identifies the deleted user. Also sent for every user of a deleted customer.
Show child attributes
Show child attributes
Example:
{
"id": 123456,
"userId": "0e9d8c7b-6a5f-4e3d-2c1b-0a9f8e7d6c5b",
"customerId": "6b7c8d9e-0f1a-2b3c-4d5e-6f7a8b9c0d1e",
"customerReferenceId": "CUST-5001"
}