---
title: "removePass(_:)"
framework: passkit
role: symbol
role_heading: Instance Method
path: "passkit/pkpasslibrary/removepass(_:)"
---

# removePass(_:)

Removes the pass from the user’s pass library.

## Declaration

```swift
func removePass(_ pass: PKPass)
```

## Parameters

- `pass`: The pass to remove.

## Discussion

Discussion This method does nothing if your app doesn’t have the appropriate entitlement. A user must confirm adding a pass to Wallet so only remove the pass in response to a user action, such as responding to a prompt to remove the pass or an app setting.

## See Also

### Managing passes

- [isSecureElementPassActivationAvailable](passkit/pkpasslibrary/issecureelementpassactivationavailable.md)
- [activate(_:activationData:completion:)](passkit/pkpasslibrary/activate(_:activationdata:completion:).md)
- [replacePass(with:)](passkit/pkpasslibrary/replacepass(with:).md)
