---
title: "Cancel"
method: DELETE
path: "/subscription/{id}"
tags: ["Subscription"]
---

# Cancel

`DELETE /subscription/{id}`

Cancel a subscription for the current user.

## Path parameters

- `id` string, required — ID of the subscription to cancel.

## Response `200`

Subscription was cancelled successfully.

- object
  - `data` 'ok', required

## Other responses

- `401` — Unauthorized - Authentication is required and has failed or has not been provided.
- `404` — Not Found - The requested resource does not exist.
- `429` — Too Many Requests - You have made too many requests in a short period of time.
- `500` — Internal Server Error - Something went wrong on our end.

## Changes

- **2025-03-07** `979a6c40552c` — 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - added the non-success response with the status `500`
- **2024-12-18** `416a8af6f912` — 2 info
  - the `data` response property const value `ok` was added for the status `200`
  - removed the `ok` enum value from the `data` response property for the response status `200`
- **2024-12-16** `56a8a6f18e6c` — 1 info
  - endpoint added
- **2024-12-16** `021e5a9aa9e2` — 1 breaking
  - api path removed without deprecation
- **2024-12-13** `43ff7af31b1e` — 2 breaking, 4 info
  - added the new path request parameter `id`
  - removed the required property `result` from the response with the `200` status
  - api operation id `deleteSubscriptionById` was added
  - the endpoint scheme security `Bearer` was removed from the API
  - …2 more

[Change history](https://skmtc.dev/terminaldotshop/apis/terminal-api/changes/subscription/:id/delete.md)

---

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