---
title: "Unsubscribe from flow notifications in a specific workspace (if the workspace_id query parameter is specified) or in all workspaces"
method: DELETE
path: "/flows/subscription"
tags: ["flows"]
---

# Unsubscribe from flow notifications in a specific workspace (if the workspace_id query parameter is specified) or in all workspaces

`DELETE /flows/subscription`

You need to be a member of the workspace to unsubscribe from flow errors.

## Query parameters

- `workspace_id` string, required
- `notification_type` 'TASK_PROCESSING_ERROR' | 'FLOW_STOPPED' | 'TASK_OPERATIONAL_ERROR'

## Response `200`

ok

- object
  - `data` object
    - `id` 'bulk-unsubscribe' — Operation identifier
    - `type` 'bulk-operation' — Resource type
    - `attributes` object
      - `count` integer — Number of subscriptions that were deleted

## 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)
