curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"objectId": "<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 del portal con base en sus objectId, si existen
Respuestas 204: Se devuelve si todos los eventos de marketing especificados se borraron correctamente. 207: Se devuelve si algunos objectIds no corresponden a ninguno de los eventos de marketing existentes.
curl --request POST \
--url https://api.hubapi.com/marketing/v3/marketing-events/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"objectId": "<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