---
title: "Remove a mailbox forwarding destination"
method: DELETE
path: "/mailboxes/{id}/forwarding/{forwarding_id}"
tags: ["Mailboxes"]
---

# Remove a mailbox forwarding destination

`DELETE /mailboxes/{id}/forwarding/{forwarding_id}`

## Request

- Base URL: `https://shipmail.to/api/v1`
- URL: `https://shipmail.to/api/v1/mailboxes/{id}/forwarding/{forwarding_id}`
- 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 a pending or active forwarding destination. Active delivery is removed from the mail server before the record is deleted.

## Headers

- `X-Shipmail-Organization` string

## Response `204`

Forwarding destination removed.

## Other responses

- `401`: Authentication failed.
- `403`: Insufficient permissions.
- `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)
