---
title: "deleteAll(completion:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/ininteraction/deleteall(completion:)"
---

# deleteAll(completion:)

Deletes all interactions that you donated previously.

## Declaration

```swift
class func deleteAll(completion: (@Sendable ((any Error)?) -> Void)? = nil)
```

```swift
class func deleteAll() async throws
```

## Parameters

- `completion`: A block to execute with the results. Provide a block if you want to know whether the deletion action succeeded. The block has no return value and takes the following parameter.

## Mentioned in

Deleting Donated Shortcuts Improving Siri Media Interactions and App Selection

## Discussion

Discussion Call this method to delete all of your app’s previously donated SiriKit interactions. If you provide a block in the completion parameter, the system executes your block asynchronously with the results. important: Typically, you only want to delete interactions that are no longer relevant. Use delete(with:completion:) to delete only interactions associated with a particular identifier.

## See Also

### Deleting Interactions from the System

- [delete(with:completion:)](intents/ininteraction/delete(with:completion:)-2d1gs.md)
- [delete(with:completion:)](intents/ininteraction/delete(with:completion:)-tcq9.md)
