summaryrefslogtreecommitdiff
path: root/docs/admin_api/delete_group.md
blob: 2e0a1d24741fc64a7d74c0a1c033ebe934454a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Delete a local group

This API lets a server admin delete a local group. Doing so will kick all
users out of the group so that their clients will correctly handle the group
being deleted.

The API is:

```
POST /_synapse/admin/v1/delete_group/<group_id>
```

To use it, you will need to authenticate by providing an `access_token` for a
server admin: see [Admin API](../usage/administration/admin_api).