---
title: "Delete a specific automation flow."
method: DELETE
path: "/automation/2026-09-beta/flows/{flowId}"
tags: ["Basic"]
---

# Delete a specific automation flow.

`DELETE /automation/2026-09-beta/flows/{flowId}`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/automation/2026-09-beta/flows/{flowId}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `automation`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `workflows.write`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `workflows.delete`
  - OAuth 2
    - Authorization code: `https://app.hubspot.com/oauth/authorize`
    - Token URL: `https://api.hubapi.com/oauth/v1/token` scopes: `workflows.read`

Delete an existing automation flow in your HubSpot account using the specified flow ID. This operation will permanently remove the flow and cannot be undone. Use this endpoint to manage and clean up automation flows that are no longer needed.

## Path parameters

- `flowId` integer, required

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

> 98 revisions in range; 5 not diffed.

- **2026-11-13** (2026-09-beta) `6ee0f25fe1ee`: 2 info
  - the security scope `automation` was added to the endpoint's security scheme `oauth2`
  - the security scope `workflows.read` was removed from the endpoint's security scheme `oauth2`
- **2026-07-13** (2026-09-beta) `437ab7f7961c`: 1 info
  - endpoint added
- **2026-07-13** (2026-09-beta) `614f5ff8daff`: 1 breaking
  - api path removed without deprecation
- **2026-05-22** (2026-09-beta) `c0e43a548369`: 3 info
  - the security scope `automation` was added to the endpoint's security scheme `oauth2`
  - the security scope `workflows-access` was removed from the endpoint's security scheme `oauth2`
  - the security scope `workflows-access-public-api` was removed from the endpoint's security scheme `oauth2`
- **2026-04-21** (2026-09-beta) `6cc579e23fb8`: 4 info
  - the endpoint scheme security `app_cookie` was removed from the API
  - the endpoint scheme security `hapikey` was removed from the API
  - the endpoint scheme security `internal_cookie` was removed from the API
  - the endpoint scheme security `shhkey` was removed from the API

[Operation history](https://skmtc.dev/hubspot/apis/automation-automation-v4/changes/automation/2026-09-beta/flows/:flowId/delete.md)

---

[API](https://skmtc.dev/hubspot/apis/automation-automation-v4.md) - [All operations](https://skmtc.dev/hubspot/apis/automation-automation-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/automation-automation-v4/revisions/6ee0f25fe1ee?raw)
