---
title: "Delete Multiple Marketing Events by ObjectId"
method: POST
path: "/marketing/marketing-events/2026-03/batch/archive"
tags: ["Batch"]
---

# Delete Multiple Marketing Events by ObjectId

`POST /marketing/marketing-events/2026-03/batch/archive`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/marketing-events/2026-03/batch/archive`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Deletes 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.

## Request body

- MarketingMarketingEventsBatchInputMarketingEventPublicObjectIdDeleteRequest
  - `inputs` MarketingMarketingEventsMarketingEventPublicObjectIdDeleteRequest[], required
    - `objectId` string, required: The internal ID of the marketing event in HubSpot

## Response `default`

An error occurred.

- Error
  - `category` string, required: The error category
  - `context` object: Context about the error condition
  - `correlationId` string, uuid, required: A unique identifier for the request. Include this value with any error reports or support tickets
  - `errors` ErrorDetail[]: further information about the error
    - `code` string: The status code associated with the error detail
    - `context` object: Context about the error condition
    - `in` string: The name of the field or parameter in which the error was found.
    - `message` string, required: A human readable message describing the error along with remediation steps where appropriate
    - `subCategory` string: A specific category that contains more specific detail about the error
  - `links` object: A map of link names to associated URIs containing documentation about the error or recommended remediation steps
  - `message` string, required: A human readable message describing the error along with remediation steps where appropriate
  - `subCategory` string: A specific category that contains more specific detail about the error

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `post-/marketing/marketing-events/2026-03/batch/archive_archiveByObjectId` removed and replaced with `post-/marketing/marketing-events/2026-03/batch/archive`
- **2026-03-25** `62586336cea2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/marketing/marketing-events/2026-03/batch/archive/post.md)

---

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