---
title: "callAsFunction(_:)"
framework: marketplacekit
role: symbol
role_heading: Instance Method
path: "marketplacekit/requestappdeletionaction/callasfunction(_:)"
---

# callAsFunction(_:)

Requests deletion of the specified app with someone’s confirmation.

## Declaration

```swift
func callAsFunction(_ app: AppLibrary.App) async throws
```

## Parameters

- `app`: The app to delete.

## Discussion

Discussion When you call this action, the system presents a confirmation UI. If the person confirms, the system deletes the app and its data.
