---
title: "Delete an action definition"
method: DELETE
path: "/automation/actions/2026-03/{appId}/{definitionId}"
tags: ["Definitions"]
---

# Delete an action definition

`DELETE /automation/actions/2026-03/{appId}/{definitionId}`

## Request

- Base URL: `https://api.hubapi.com`
- URL: `https://api.hubapi.com/automation/actions/2026-03/{appId}/{definitionId}`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `hapikey`
  - none

Delete an action definition by ID.

## Path parameters

- `appId` integer, required
- `definitionId` string, required

## Response `204`

No content

## Other responses

- `default`: An error occurred.

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-04-08** `b0d8bc008db9`: 1 info
  - api operation id `delete-/automation/actions/2026-03/{appId}/{definitionId}_archive` removed and replaced with `delete-/automation/actions/2026-03/{appId}/{definitionId}`
- **2026-03-30** `dc2fdad57f7f`: 2 info
  - api tag `Definitions` added
  - api tag `Basic` removed
- **2026-03-25** `37a93e10d5c4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hubspot/apis/hubspot-api-specification/changes/automation/actions/2026-03/:appId/:definitionId/delete.md)

---

[API](https://skmtc.dev/hubspot/apis/hubspot-api-specification.md) - [All operations](https://skmtc.dev/hubspot/apis/hubspot-api-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/hubspot/apis/hubspot-api-specification/revisions/f9c7181056c5?raw)
