---
title: "Delete access to a mailbox for the current user"
method: DELETE
path: "/1/mail_hostings/accesses/webmail/mailboxes/{mailbox_id}"
tags: ["Mailboxes > Accesses > Webmail"]
---

# Delete access to a mailbox for the current user

`DELETE /1/mail_hostings/accesses/webmail/mailboxes/{mailbox_id}`

Delete access to a mailbox for the current user

## Path parameters

- `mailbox_id` string, required

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` boolean

## Other responses

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

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
