curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/events/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"appId": 123,
"externalAccountId": "<string>",
"externalEventId": "<string>"
}
]
}
'{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}Elimina múltiples eventos de marketing con base en externalAccountId, externalEventId y appId.
Solo se eliminarán eventos de marketing creados por la misma aplicación; los eventos de otras aplicaciones no se pueden retirar por este punto de terminación.
curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/events/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"appId": 123,
"externalAccountId": "<string>",
"externalEventId": "<string>"
}
]
}
'{
"message": "Invalid input (details will vary based on the error)",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"category": "VALIDATION_ERROR",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
}
}Productos compatibles
Ámbitos Requeridos
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
La categoría del error
Un identificador único para la solicitud. Incluye este valor con cualquier informe de error o ticket de asistencia.
"aeb5f871-7f07-4993-9211-075dc63e7cbf"
Un mensaje legible en el que se describa el error y los pasos para solucionarlo, si procede.
"An error occurred"
Contexto de la condición de error
Show child attributes
"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"
información adicional acerca del error
Show child attributes
Un mapa de nombres de enlaces a URI asociadas que contienen documentación sobre el error o los pasos recomendados para solucionarlo.
Show child attributes
Una categoría específica que contiene detalles más concretos acerca del error