Batch
Delete Multiple Marketing Events by ObjectId
Changed onDeletes multiple Marketing Events from the portal based on their objectId, if they exist.
Responses: 204: Returned if all specified Marketing Events were successfully deleted. 207: Returned if some objectIds did not correspond to any existing Marketing Events.
post/marketing/marketing-events/2026-03/batch/archive
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/marketing/marketing-events/2026-03/batch/archive
- Auth
- HTTP bearer
- or API key in query parameter hapikey
- or none
Request body
Response
An error occurred.
Example response
{
"category": "VALIDATION_ERROR",
"correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
"links": {
"knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
},
"message": "Invalid input (details will vary based on the error)"
}Changes
- info
api operation id
post-/marketing/marketing-events/2026-03/batch/archive_archiveByObjectIdremoved and replaced withpost-/marketing/marketing-events/2026-03/batch/archive
- info
- info
endpoint added
- info
Some revisions have not been checked yet.