---
title: "End a free membership"
method: POST
path: "/membership/members/{passId}/end"
tags: ["Membership"]
---

# End a free membership

`POST /membership/members/{passId}/end`

## Request

- Base URL: `https://api.session.services`
- URL: `https://api.session.services/membership/members/{passId}/end`
- Auth: API key in header `x-tenant-id`

Ends a complimentary membership now. The member keeps their number. Paid memberships end through a refund or cancellation instead. Requires membership.write.

## Path parameters

- `passId` string, required

## Request body

- object
  - `teamId` string, required

## Response `200`

OK

- object: A membership pass with its owner, for staff
  - `id` string, required: Membership pass ID
  - `programId` string, required
  - `teamId` string, required
  - `userId` string, required
  - `memberNumber` integer, required: Sequential number identifying the pass within its program. The first pass receives 200.
  - `state` 'ACTIVE' | 'SUSPENDED' | 'INACTIVE', required
  - `active` boolean, required: True while the pass is ACTIVE and its paid term has not ended
  - `paidThrough` string, date-time, required: End of the latest paid annual term
  - `cancelAt` string, date-time: Present when renewal is scheduled to stop. Benefits continue until paidThrough.
  - `complimentary` boolean, required: True while the current term was granted by staff for free. It never renews; a paidThrough of MEMBERSHIP_NO_END means it has no end date.
  - `createdAt` string, date-time, required
  - `member` object: Absent when the user account no longer exists
    - `firstName` string, required
    - `lastName` string, required
    - `email` string, required

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `409`: 409
- `412`: 412
- `422`: 422
- `429`: 429
- `500`: 500
- `501`: 501
- `503`: 503

## Changes

- **2026-11-09** `38649d1c1ac7`: 2 warning
  - for the `path` request parameter `passId`, the maxLength was set to `128`
  - the `teamId` request property's maxLength was set to `128`
- **2026-11-09** `24b4e38e7054`: 5 breaking
  - the `cancelAt` response's property format changed from `date-time` to no format for status `200`
  - the `createdAt` response's property format changed from `date-time` to no format for status `200`
  - the `memberNumber` response's property type changed from `integer` to `number` for status `200`
  - the `oneOf[subschema #1]/data/memberNumber` response's property type changed from `integer` to `number` for status `409`
  - …1 more
- **2026-09-26** `b06650f199b3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/session/apis/session-services-api/changes/membership/members/:passId/end/post.md)

---

[API](https://skmtc.dev/session/apis/session-services-api.md) - [All operations](https://skmtc.dev/session/apis/session-services-api/llms.txt) - [OpenAPI document](https://skmtc.dev/session/apis/session-services-api/revisions/9346dc3eea56?raw)
