---
title: "Deletes a subscription."
method: DELETE
path: "/subscriptions/{subscriptionHrn}"
tags: ["subscription"]
---

# Deletes a subscription.

`DELETE /subscriptions/{subscriptionHrn}`

Deletes a subscription associated with the HRN.

## Headers

- `x-idempotency-key` string, required

## Response `202`

Accepted - your request was received and is being processed.

- SubscriptionStatusToken
  - `statusToken` string, required — Token to check subscription create or delete status.

## Other responses

- `400` — Bad Request - indicates that your request failed fast validation due to an issue, such as syntax or logical errors.
- `401` — Unauthorized
- `403` — Forbidden - Access to this subscription is forbidden.
- `404` — Not Found - A subscription with the specified HRN doesn't exist.
- `409` — Conflict - indicates that a subscription token with the same `x-idempotency-key` but a different subscription already exists or is in the process of being deleted.

---

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