<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "marketplacekit",
  "identifier" : "/documentation/MarketplaceKit/RequestAppDeletionAction/callAsFunction(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MarketplaceKit",
      "UIKit"
    ],
    "preciseIdentifier" : "s:21_MarketplaceKit_UIKit24RequestAppDeletionActionV14callAsFunctionyy0aB00E7LibraryC0E0CYaKF"
  },
  "title" : "callAsFunction(_:)"
}
-->

# callAsFunction(_:)

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

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

## Parameters

`app`

The app to delete.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)