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

# Delete Multiple Marketing Events by External Ids

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

## Request

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

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

- MarketingMarketingEventsBatchInputMarketingEventExternalUniqueIdentifier
  - `inputs` MarketingMarketingEventsMarketingEventExternalUniqueIdentifier[], required
    - `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.

- 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/events/delete_archive` removed and replaced with `post-/marketing/marketing-events/2026-03/events/delete`
- **2026-03-25** `62586336cea2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/marketing/marketing-events/2026-03/events/delete/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)
