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