---
title: "Delete mailbox"
method: DELETE
path: "/workspaces/{workspaceID}/mailboxes/{mailboxID}"
tags: ["Mailboxes"]
---

# Delete mailbox

`DELETE /workspaces/{workspaceID}/mailboxes/{mailboxID}`

## Request

- Base URL: `https://api.salesforge.ai/public/v2`
- URL: `https://api.salesforge.ai/public/v2/workspaces/{workspaceID}/mailboxes/{mailboxID}`
- Auth: API key in header `Authorization`

Removes the connected account from Salesforge and marks the mailbox deleted. Does not delete the email account at its provider.

## Path parameters

- `workspaceID` string, required
- `mailboxID` string, required

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/salesforge/apis/salesforge-api.md) - [All operations](https://skmtc.dev/salesforge/apis/salesforge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/salesforge/apis/salesforge-api/revisions/3f946278b378?raw)
