---
title: "Cancel scheduled email"
method: DELETE
path: "/api/e2/emails/{id}"
tags: ["Emails"]
---

# Cancel scheduled email

`DELETE /api/e2/emails/{id}`

Cancel a scheduled email by ID. Only works for emails that haven't been sent yet.

## Path parameters

- `id` string, required

## Response `200`

Response for status 200

- object
  - `success` boolean, required
  - `message` string, required
  - `id` string, required

## Other responses

- `400` — Response for status 400
- `401` — Response for status 401
- `404` — Response for status 404
- `500` — Response for status 500

---

[API](https://skmtc.dev/stainless-api/apis/inbound-email-api.md) · [All operations](https://skmtc.dev/stainless-api/apis/inbound-email-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stainless-api/inbound-email-api/revisions/e279d3cb940b/schema)
