---
title: "Delete mailFolder from user"
method: DELETE
path: "/users/{userIdentifier}/mailFolders/{mailFolderId}"
tags: ["users.mailFolder"]
---

# Delete mailFolder from user

`DELETE /users/{userIdentifier}/mailFolders/{mailFolderId}`

Delete a mail folder from a specific user's mailbox.

## Headers

- `If-Match` string

## Response `204`

If successful, the mail folder is deleted from the specified user's mailbox and no content is returned. Unless, the folder may not exist or access may be denied.

## Other responses

- `4XX` — error
- `5XX` — error

---

[API](https://skmtc.net/ballerina-platform/apis/microsoft-graph-mail-api.md) · [All operations](https://skmtc.net/ballerina-platform/apis/microsoft-graph-mail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/microsoft-graph-mail-api/versions/af62694b9f2d/schema)
