---
title: "SecKeychainRemoveCallback(_:)"
framework: security
role: symbol
role_heading: Function
path: "security/seckeychainremovecallback(_:)"
---

# SecKeychainRemoveCallback(_:)

Unregisters your keychain event callback function.

## Declaration

```swift
func SecKeychainRemoveCallback(_ callbackFunction: SecKeychainCallback) -> OSStatus
```

## Parameters

- `callbackFunction`: The callback function pointer to remove.

## Return Value

Return Value A result code. See Security Framework Result Codes.

## Discussion

Discussion Once removed, keychain events are not sent to the owner of the callback.
