Cancel Membership
cancel_membershipCancel a member's paid membership in a community you run. when "period_end" (default): renewal off, paid access until the paid period ends. when "now": paid access ends immediately. NO REFUND either way — the unused period is not returned. The member is emailed and stays a free member (remove_community_member removes them). Requires community_id + user_id; creator or admin only.
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": {
"community_id": "<community_id>",
"user_id": "<user_id>"
},
"name": "cancel_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ||
| user_id | Yes | ||
| community_id | Yes |