2019-04-03 09:07:34 -06:00
|
|
|
# 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:
|
|
|
|
|
|
|
|
```
|
2019-05-01 08:18:58 -06:00
|
|
|
POST /_synapse/admin/v1/delete_group/<group_id>
|
2019-04-03 09:07:34 -06:00
|
|
|
```
|
|
|
|
|
2020-06-05 10:31:05 -06:00
|
|
|
To use it, you will need to authenticate by providing an `access_token` for a
|
2021-06-03 10:20:40 -06:00
|
|
|
server admin: see [Admin API](../../usage/administration/admin_api).
|