<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItem/cancelContentAuthorizationRequest()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItem(im)cancelContentAuthorizationRequest"
  },
  "title" : "cancelContentAuthorizationRequest()"
}
-->

# cancelContentAuthorizationRequest()

Cancels the currently outstanding content authorization request.

```
func cancelContentAuthorizationRequest()
```

## Discussion

Calling this method while a content authorization request is pending will cause that request to be cancelled and its completion handler to be invoked with a status of [`AVContentAuthorizationStatus.cancelled`](/documentation/AVFoundation/AVContentAuthorizationStatus/cancelled).

This method does not block.

---

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)