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

# Delete Multiple Marketing Events by ObjectId

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

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/marketing-events/2026-09/batch/archive`
- Auth: OAuth 2
  - Authorization code: `https://app.hubspot.com/oauth/authorize`
  - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `crm.objects.marketing_events.write`

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

- BatchInputMarketingEventPublicObjectIdDeleteRequest
  - `inputs` MarketingEventPublicObjectIdDeleteRequest[], required: An array of marketing event public object IDs to be deleted. Each item in the array is a MarketingEventPublicObjectIdDeleteRequest object.
    - `objectId` string, required: The internal ID of the marketing event in HubSpot

## Response `default`

An error occurred.

## Changes

- **2026-09-03** (2026-09) `e62ad9a49a20`: 1 info
  - the endpoint scheme security `private_apps` was removed from the API

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

---

[API](https://skmtc.dev/hubspot/apis/marketing-marketing-events.md) - [All operations](https://skmtc.dev/hubspot/apis/marketing-marketing-events/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/marketing-marketing-events/revisions/3afcf69ad1b4?raw)
