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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | ||
| user_id | Yes | ||
| community_id | Yes |