---
title: "Delete Multiple Marketing Events by External Ids"
method: POST
path: "/marketing/marketing-events/2026-09/events/delete"
tags: ["Batch"]
---

# Delete Multiple Marketing Events by External Ids

`POST /marketing/marketing-events/2026-09/events/delete`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/marketing/marketing-events/2026-09/events/delete`
- 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 based on externalAccountId, externalEventId, and appId.

Only Marketing Events created by the same apps will be deleted; events from other apps cannot be removed by this endpoint.

## Request body

- BatchInputMarketingEventExternalUniqueIdentifier
  - `inputs` MarketingEventExternalUniqueIdentifier[], required: An array of MarketingEventExternalUniqueIdentifier objects, each representing a unique identifier for a marketing event. This is required for batch operations.
    - `appId` integer, required: The id of the application that created the marketing event in HubSpot.
    - `externalAccountId` string, required: The accountId that is associated with this marketing event in the external event application.
    - `externalEventId` string, required: The id of the marketing event in the external event application.

## 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/events/delete/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)
