---
title: "Cancel subscription"
method: DELETE
path: "/v2/teams/subscriptions/{referenceId}"
tags: ["v2/Subscriptions"]
---

# Cancel subscription

`DELETE /v2/teams/subscriptions/{referenceId}`

## Request

- Base URL: `https://api.speedify.com`
- URL: `https://api.speedify.com/v2/teams/subscriptions/{referenceId}`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP basic

Cancel a subscription at end of term. Admin only.

## Path parameters

- `referenceId` string, required

## Response `200`

Subscription cancelled

- object
  - `data` object

## Other responses

- `400`: Request validation failed
- `401`: Invalid or missing API key
- `403`: Valid API key but insufficient permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/speedify/apis/speedify-teams-api.md) - [All operations](https://skmtc.dev/speedify/apis/speedify-teams-api/llms.txt) - [OpenAPI document](https://skmtc.dev/speedify/apis/speedify-teams-api/revisions/70fab50c8804?raw)
