---
title: "Delete a flow subscription"
method: DELETE
path: "/flows/{flow_id}/subscriptions/{subscription_id}"
tags: ["flows"]
---

# Delete a flow subscription

`DELETE /flows/{flow_id}/subscriptions/{subscription_id}`

Deletes the subscription with the specified ID for the flow.
You need to be a member of the workspace the flow belongs to.

## Path parameters

- `flow_id` string, required
- `subscription_id` string, required

## Response `200`

Subscription deleted

- object
  - `data` object
    - `id` string — Subscription ID
    - `type` 'subscription' — Resource type
    - `attributes` object
      - `deleted` boolean — Indicates that the subscription was deleted
    - `relationships` object
      - `flow` object
        - `data` object
          - `id` string — Flow ID
          - `type` 'flow' — Resource type

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
