---
title: "Remove a welcome email"
method: DELETE
path: "/audiences/{id}/welcome-sequence/steps/{stepId}"
tags: ["Audiences"]
---

# Remove a welcome email

`DELETE /audiences/{id}/welcome-sequence/steps/{stepId}`

## Request

- Base URL: `https://shipmail.to/api/v1`
- URL: `https://shipmail.to/api/v1/audiences/{id}/welcome-sequence/steps/{stepId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://shipmail.to/api/auth/oauth2/authorize`, token URL `https://shipmail.to/api/auth/oauth2/token`)

Remove an email from the sequence. Readers waiting for it go on to the next one. A running sequence keeps at least one email.

## Headers

- `Idempotency-Key` string
- `X-Shipmail-Organization` string

## Response `200`

The removed welcome email.

- DeletedWelcomeStep
  - `object` 'welcome_step', required
  - `id` string, required
  - `deleted` true, required

## Other responses

- `404`: Resource not found.
- `422`: Validation failed.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/shipmail/apis/shipmail-api.md) · [All operations](https://skmtc.dev/shipmail/apis/shipmail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shipmail/apis/shipmail-api/revisions/2c23e59d7e30?raw)
