Basic

Delete a specific automation flow.

Changed on

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.

delete/automation/2026-09-beta/flows/{flowId}

Request

  • Base URL
    https://api.hubapi.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesautomation
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.write
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.delete
    • or OAuth 2
      Authorization codehttps://app.hubspot.com/oauth/authorize
      Token URLhttps://api.hubapi.com/oauth/v1/token
      Scopesworkflows.read

Path parameters

flowIdinteger required

Response

No content

Changes

  • 2026-09-beta6ee0f25fe1eeRevision changes
    • info

      the security scope automation was added to the endpoint's security scheme oauth2

    • info

      the security scope workflows.read was removed from the endpoint's security scheme oauth2

  • 2026-09-beta437ab7f7961cRevision changes
    • info

      endpoint added