There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Delete a workflow

Last updated June 17, 2020

DELETE /automation/v3/workflows/:workflowId

Note: The Workflows API currently only supports contact-based workflows.

Method Details

HTTP Methods:


Response Format:


Requires Authentication?


Rate Limited?






Required Scope:


Delete a workflow. Because deleting a workflow could be very disruptive to a user - you might be deleting a marketing automation workflow - a good best practice is to only delete workflows that your integration created.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Workflow ID Used in the request URL Unique identifier for a particular Workflow.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL to DELETE:{workflowId}?hapikey=demo

The expected response for this request is 204 No Content.