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"
}
}Exclui vários Eventos de marketing com base em externalAccountId, externalEventId e appId.
Somente Eventos de marketing criados pelos mesmos aplicativos serão excluídos; eventos de outros aplicativos não podem ser removidos por este ponto de extremidade.
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"
}
}Produtos suportados
Escopos Necessários
The access token received from the authorization server in the OAuth 2.0 flow.
Show child attributes
A categoria de erro
Um identificador exclusivo para a solicitação. Inclua este valor em relatórios de erro ou tickets de suporte
"aeb5f871-7f07-4993-9211-075dc63e7cbf"
Uma mensagem legível por humanos que descreve o erro, juntamente com as etapas de correção, quando apropriado
"An error occurred"
Contexto sobre a condição do erro
Show child attributes
"{invalidPropertyName=[propertyValue], missingScopes=[scope1, scope2]}"
mais informações sobre o erro
Show child attributes
Um mapa de nomes de links para URIs associados que contêm documentação sobre o erro ou etapas de correção recomendadas
Show child attributes
Uma categoria específica que contém mais detalhes específicos sobre o erro