---
search:
  tags:
    - customer
    - POST
seo:
  description: >-
    Requires the X-Customer-Session header. The enterprise service API…
    Reference for the POST /customer/subscriptions/cancel endpoint in the
    FreeTicket B2B API.
sidebar:
  label: Cancel the buyer's own membership
  badge: POST
title: Cancel the buyer's own membership
type: openapi-operation
---
Requires the `X-Customer-Session` header. The enterprise service API key is OPTIONAL: with a key, the workspace is the one pinned to it (any `workspaceId` in the body is ignored); without a key, `workspaceId` is REQUIRED in the body (422 if missing). The membership is ALWAYS resolved from the buyer session (a CustomerMembership id is never accepted). It first cancels the recurring charge at the provider and then marks the membership as CANCELLED. Idempotent.

`POST /customer/subscriptions/cancel`
