Delete a group
delete_groupUse this to delete a group for everyone in it. expectedRevision is the group's lockVersion from get_group. To only take it off the user's own list, use archive_group or leave_group instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"groupToken": "<groupToken>",
"expectedRevision": "<expectedRevision>"
},
"name": "delete_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| expectedRevision | Yes | The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it. |