---
title: "Delete a received email"
method: DELETE
path: "/trigger/emails/{uid}"
tags: ["Email triggers"]
---

# Delete a received email

`DELETE /trigger/emails/{uid}`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/trigger/emails/{uid}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-6/docs/trigger/emails/:uid/delete.ts> (a function with typed inputs; its response is checked against the schema)

Removes the email and its attachments from storage.

## Path parameters

- `uid` string, required

## Response `200`

Success

- object
  - `message` string: Success message

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Email not found

## Changes

- **2026-11-12** `a9f443efdc5d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-6/changes/trigger/emails/:uid/delete.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-6.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-6/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-6/revisions/a9f443efdc5d?raw)
