Skip to main content
DELETE
/
automation
/
v4
/
actions
/
{appId}
/
{definitionId}
/
functions
/
{functionType}
/
{functionId}
Archive a function for a definition
curl --request DELETE \
  --url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}?hapikey='
This response has no body data.

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Professional
Service HubService Hub -Professional
Content HubContent Hub -Professional
Data HubData Hub -Professional

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer<int32>
required
definitionId
string
required
functionId
string
required
functionType
enum<string>
required
Available options:
POST_ACTION_EXECUTION,
POST_FETCH_OPTIONS,
PRE_ACTION_EXECUTION,
PRE_FETCH_OPTIONS

Response

Last modified on December 16, 2025