<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemExtensions",
  "identifier" : "/documentation/SystemExtensions/OSSystemExtensionRequest/deactivationRequest(forExtensionWithIdentifier:queue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "System Extensions"
    ],
    "preciseIdentifier" : "c:objc(cs)OSSystemExtensionRequest(cm)deactivationRequestForExtension:queue:"
  },
  "title" : "deactivationRequest(forExtensionWithIdentifier:queue:)"
}
-->

# deactivationRequest(forExtensionWithIdentifier:queue:)

Creates a request to deactivate a System Extension.

```
class func deactivationRequest(forExtensionWithIdentifier identifier: String, queue: dispatch_queue_t) -> Self
```

## Parameters

`identifier`

The bundle identifier of the extension to deactivate.

`queue`

The dispatch queue to use when calling delegate methods.

## Discussion

The system discovers existing system extensions in the `Contents/Library/SystemExtensions` directory of the main app bundle.

A deactivation request may require a restart before deactivating the extension. If the request succeeds but requires a restart to complete, the extension may still appear operational until the next restart.

---

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)