---
title: removeFromPreferences()
framework: networkextension
role: symbol
role_heading: Instance Method
path: networkextension/neurlfiltermanager/removefrompreferences()
---

# removeFromPreferences()

Removes the URL filter configuration from the caller’s URL filter preferences.

## Declaration

```swift
func removeFromPreferences() async throws
```

## Discussion

Discussion If the URL filter is enabled, this call disables it.

## See Also

### Working with the filter configuration

- [setConfiguration(pirServerURL:pirPrivacyPassIssuerURL:pirAuthenticationToken:controlProviderBundleIdentifier:)](networkextension/neurlfiltermanager/setconfiguration(pirserverurl:pirprivacypassissuerurl:pirauthenticationtoken:controlproviderbundleidentifier:).md)
- [loadFromPreferences()](networkextension/neurlfiltermanager/loadfrompreferences().md)
- [saveToPreferences()](networkextension/neurlfiltermanager/savetopreferences().md)
- [handleConfigChange()](networkextension/neurlfiltermanager/handleconfigchange().md)
