v8
OpenAPI 3.1.02026-08-033623795.0 MBMemberships
Cancel Membership
Cancels a membership immediately, revoking access right away. To cancel at the end of the billing period instead, update the membership with cancel_at_period_end: true.
post/memberships/{id}/cancel
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Response
membership canceled
Example response
{
"member": {
"access_level": "no_access"
},
"status": "trialing"
}