Take back paid content
revoke_accessTake back paid content or a download the owner gave (grant_access, or set by hand): productId (the groups it unlocks, or its file) or groups. What the member BOUGHT stays unless includePurchases:true. The member is signed out at once; the answer names what was removed and what they still hold because they bought it. Full reference: get_reference {topic:"members"}.
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": {
"siteId": "<siteId>",
"memberId": "<memberId>"
},
"name": "revoke_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | Or the group ids to take back | |
| siteId | Yes | Site id (from list_sites) | |
| memberId | Yes | Member id (from list_members) | |
| productId | No | An access or download product (from list_products) | |
| includePurchases | No | Also take back what they bought (default false) |