---
title: "Cancel Subscription"
method: POST
path: "/v1/organizations/billing/subscription/cancel"
tags: ["Organization Billing"]
---

# Cancel Subscription

`POST /v1/organizations/billing/subscription/cancel`

## Request

- Base URL: `https://api.mixpeek.com`
- URL: `https://api.mixpeek.com/v1/organizations/billing/subscription/cancel`
- Auth: HTTP bearer

Cancel the current subscription.

Default: cancel at end of billing period (the subscription remains
active until then, after which the organization downgrades). With
``immediate=true``: cancel NOW — the org-deletion cascade
and teardown callers need a cancel that actually ends billing today
instead of leaving a live sub on the card.

## Request body

- CancelSubscriptionRequest: Options for subscription cancellation.
  - `immediate` boolean: Cancel NOW (Stripe Subscription.cancel) instead of at period end. Default False preserves the period-end behavior.
  - `invoice_now` boolean: With immediate=true: generate a final proration invoice.

## Response `200`

Successful Response

- CancelSubscriptionResponse: Response after cancelling a subscription.
  - `subscription_id` string, required
  - `cancel_at_period_end` boolean
  - `status` string, nullable
  - `message` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error
- `503`: Service Unavailable

## Changes

- **2026-10-09** `61a175e8eb9a`: 1 warning, 5 info
  - removed the optional property `detail` from the response with the `422` status
  - added the non-success response with the status `429`
  - added the non-success response with the status `503`
  - added the optional property `success` to the response with the `422` status
  - …2 more
- **2026-08-09** `5d4c905106b4`: 1 info
  - the endpoint scheme security `BearerAuth` was added to the API
- **2026-07-26** `7cb051533311`: 2 info
  - added optional request body
  - added the optional property `status` to the response with the `200` status

[Operation history](https://skmtc.dev/mixpeek/apis/mixpeek-api/changes/v1/organizations/billing/subscription/cancel/post.md)

---

[API](https://skmtc.dev/mixpeek/apis/mixpeek-api.md) - [All operations](https://skmtc.dev/mixpeek/apis/mixpeek-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mixpeek/apis/mixpeek-api/revisions/790bc16455f6?raw)
