---
title: "Cancel subscription schedule"
method: POST
path: "/v1/subscriptions/schedules/{schedule_id}/cancel"
tags: ["Subscriptions"]
---

# Cancel subscription schedule

`POST /v1/subscriptions/schedules/{schedule_id}/cancel`

Use when cancelling a scheduled change (e.g. customer changed mind). Identify by schedule ID in path or by subscription ID + schedule type in body.

## Path parameters

- `schedule_id` string, required

## Request body

- CancelScheduleRequest — Request to cancel a subscription schedule (supports two modes)
  - `schedule_id` string — schedule_id is the ID of the schedule to cancel (optional if subscription_id and schedule_type are provided)
  - `schedule_type` 'plan_change' | 'cancellation'
  - `subscription_id` string — subscription_id is the ID of the subscription (required if schedule_id is not provided)

## Response `200`

OK

- CancelScheduleResponse — Confirmation of schedule cancellation
  - `message` string — message is a confirmation message
  - `status` 'pending' | 'executing' | 'executed' | 'cancelled' | 'failed'

## Changes

- **2026-07-09** `7d57386313c7` — 3 breaking, 5 warning, 2 info
  - request property `schedule_type` was restricted to a list of enum values
  - the `schedule_type` request property type changed from no type to `string`
  - the `status` response's property type changed from no type to `string` for status `200`
  - added the new `cancelled` enum value to the `status` response property for the response status `200`
  - …6 more
- **2026-07-09** `4b1a811c4179` — 4 breaking, 5 info
  - removed the enum value `cancellation` of the request property `schedule_type`
  - removed the enum value `plan_change` of the request property `schedule_type`
  - the `schedule_type` request property type changed from `string` to no type
  - the `status` response's property type changed from `string` to no type for status `200`
  - …5 more

[Change history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/v1/subscriptions/schedules/:schedule_id/cancel/post.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/2bd70d9bd657/schema)
