---
title: "removeAction(_:)"
framework: automator
role: symbol
role_heading: Instance Method
path: "automator/amworkflow/removeaction(_:)"
---

# removeAction(_:)

Removes the specified action from the workflow.

## Declaration

```swift
func removeAction(_ action: AMAction)
```

## Parameters

- `action`: The action to be removed.

## Discussion

Discussion The action receives an AMAction closed message before being released.

## See Also

### Manipulating the Workflow’s Actions

- [addAction(_:)](automator/amworkflow/addaction(_:).md)
- [insertAction(_:at:)](automator/amworkflow/insertaction(_:at:).md)
- [moveAction(at:to:)](automator/amworkflow/moveaction(at:to:).md)
