---
title: "Delete a custom folder"
method: DELETE
path: "/v1/domains/{domain}/mailboxes/{localPart}/folders/{id}"
tags: ["Folders"]
---

# Delete a custom folder

`DELETE /v1/domains/{domain}/mailboxes/{localPart}/folders/{id}`

## Request

- Base URL: `https://api.usemektup.com`
- URL: `https://api.usemektup.com/v1/domains/{domain}/mailboxes/{localPart}/folders/{id}`
- Auth: HTTP bearer

Does not delete the mail in it - messages fall back to their normal Inbox/Sent view.

## Path parameters

- `domain` string, required
- `localPart` string, required
- `id` string, uuid, required

## Response `204`

Deleted

## Other responses

- `404`: Not found on this account (tenant-isolated - never reveals another account's data)

---

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