---
title: disable()
framework: ContactProvider
role: symbol
role_heading: Instance Method
platforms: [iOS 18.0+, iPadOS 18.0+]
path: contactprovider/contactprovidermanager/disable()
---

# disable()

Disables the extension domain.

## Declaration

```swift
func disable() async throws
```

## Discussion

Discussion Disabling the extension deletes all previously-provided contacts for the domain.

## See Also

### Managing the domain

- [domain](contactprovider/contactprovidermanager/domain.md)
- [enable()](contactprovider/contactprovidermanager/enable().md)
- [isEnabled](contactprovider/contactprovidermanager/isenabled.md)
- [reset()](contactprovider/contactprovidermanager/reset().md)
