---
title: "Publicv1Emailsrouter.Batch Delete Emails"
method: POST
path: "/v1/emails/batch-delete"
tags: ["v1"]
---

# Publicv1Emailsrouter.Batch Delete Emails

`POST /v1/emails/batch-delete`

## Request

- Base URL: `https://app.eve.legal` (the document declares no server; this is the origin it was published from)
- URL: `https://app.eve.legal/v1/emails/batch-delete`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Batch delete emails in a matter by externalMessageId.
The linked documents stay on the matter.
Maximum of 100 emails per request.

## Request body

- BatchDeleteEmailRequest
  - `externalMatterId` string, required: External ID of the matter
  - `externalMessageIds` string[], required: List of externalMessageId values to delete

## Response `200`

Successful Response

- BatchDeleteEmailResponse
  - `deletedEmails` DeletedEmail[], required: List of deleted emails
    - `id` string, uuid, required: ID of the email
    - `externalMessageId` string, required: Your ID of the email

## Other responses

- `401`: Unauthorized
- `422`: Validation Error

---

[API](https://skmtc.dev/eve/apis/eve-public-api.md) - [All operations](https://skmtc.dev/eve/apis/eve-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eve/apis/eve-public-api/revisions/1a108b551ef3?raw)
