---
title: "Webhook Borrar Evento Manual Instalacion"
method: POST
path: "/api/hubspot/webhook/borrar_evento_manual_instalacion"
tags: ["hubspot"]
---

# Webhook Borrar Evento Manual Instalacion

`POST /api/hubspot/webhook/borrar_evento_manual_instalacion`

## Request

- Base URL: `https://api.hogarsolar.es` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hogarsolar.es/api/hubspot/webhook/borrar_evento_manual_instalacion`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/hubspot/webhook/borrar_evento_manual_instalacion/post.ts> (a function with typed inputs; its response is checked against the schema)

Webhook para borrar evento de instalación manual en Google Calendar.

Lógica:
- Verifica que fecha_confirmada_instalacion y hora_acordada_instalacion estén vacíos
- Obtiene id_evento_google_calendar_instalacion del negocio
- Elimina el evento de Google Calendar
- Crea nota en el contacto confirmando la eliminación
- Si hay error, crea nota de error y tarea para el equipo técnico

## Request body

- HubSpotWebhookCitaRequest: Payload para webhooks de citas desde HubSpot Valida el campo 'Correo' que debe ser un email válido.
  - `Correo` string, email, required: Email del contacto en HubSpot

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) - [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/revisions/b4cc3cebfaaa?raw)
