---
title: "Delete groups"
method: POST
path: "/api/v1/delete/mailbox-group"
tags: ["Groups"]
---

# Delete groups

`POST /api/v1/delete/mailbox-group`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/delete/mailbox-group`
- Auth: API key in header `X-API-Key`

Delete groups by ID. Members keep their settings; their group alias and send-as rights of the group are removed.

## Request body

- object
  - `items` object: contains list of group IDs you want to delete

## Response `200`

OK

- object
  - `log` unknown[]: contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'warning' | 'error'

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-27** `c818e639f1cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/delete/mailbox-group/post.md)

---

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