Cancels a member’s subscription either immediately or at the end of the current billing period.Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
URL Parameters
The ID of the community
The ID of the community membership
Request Body
If
true, cancels immediately. If false or omitted, cancels at end of billing period.Returns
Returns a success message and the updated member object.Error Responses
Notes
- Authorization: Community owner or admin only
- Immediate Cancellation: Access ends immediately, no refund issued automatically
- Period-End Cancellation: Member retains access until
current_period_end - Stripe: Cancellation is synced to Stripe subscription
- Refunds: To issue a refund, use the separate refund endpoints

