<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CallKit",
  "identifier" : "/documentation/CallKit/CXCallDirectoryExtensionContext/removeBlockingEntry(withPhoneNumber:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXCallDirectoryExtensionContext(im)removeBlockingEntryWithPhoneNumber:"
  },
  "title" : "removeBlockingEntry(withPhoneNumber:)"
}
-->

# removeBlockingEntry(withPhoneNumber:)

Removes a blocking entry that contains the specified phone number.

```
func removeBlockingEntry(withPhoneNumber phoneNumber: CXCallDirectoryPhoneNumber)
```

## Parameters

`phoneNumber`

The phone number to remove.

## Discussion

If [`isIncremental`](/documentation/CallKit/CXCallDirectoryExtensionContext/isIncremental) is <doc://com.apple.documentation/documentation/Swift/true>, the request provides incremental entries and may use this method to remove previously added blocking entries. This method removes all blocking entries that contain the specified phone number, even if multiple blocking entries with different labels are present for a single phone number.

Don’t call this method if [`isIncremental`](/documentation/CallKit/CXCallDirectoryExtensionContext/isIncremental) is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)