---
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'

---

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