---
title: "Cancel the subscription at period end"
method: POST
path: "/api/v1/billing/subscription/cancel"
tags: ["billing"]
---

# Cancel the subscription at period end

`POST /api/v1/billing/subscription/cancel`

Schedules the subscription to cancel at the end of the current period. Coverage already paid for stays until `periodEnd`, then the account reverts to pay-as-you-go (no refund or proration). Reversible with Resume before the period ends. Not available during impersonation.

## Headers

- `Authorization` string, required

## Response `200`

Cancellation scheduled.

- BillingCancelSubscriptionResponse200
  - `canceledAtPeriodEnd` boolean
  - `cancelAt` integer, nullable — Unix timestamp (seconds) the subscription ends.

## Other responses

- `401` — Missing or invalid API key.
- `409` — No active subscription to cancel.

---

[API](https://skmtc.net/getdial/apis/rest-api.md) · [All operations](https://skmtc.net/getdial/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdial/rest-api/revisions/5f4eb30ac29a/schema)
