Delete a workflow

DELETE /automation/v3/workflows/:workflowId

Method Details

HTTP Methods:

DELETE

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

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: https://api.hubapi.com/automation/v3/workflows/{workflowId}?hapikey=demo

The expected response for this request is 204 No Content.