---
title: "revokeAuthorization(completionHandler:)"
framework: familycontrols
role: symbol
role_heading: Instance Method
path: "familycontrols/authorizationcenter/revokeauthorization(completionhandler:)"
---

# revokeAuthorization(completionHandler:)

Revokes authorization to provide parental controls.

## Declaration

```swift
func revokeAuthorization(completionHandler: @escaping (Result<Void, any Error>) -> Void)
```

## Parameters

- `completionHandler`: A closure the system calls after it completes the authorization request. The system passes the following parameters:

## Discussion

Discussion If your app’s authentication status is AuthorizationStatus.approved this method revokes authentication. note: This method has no effect if your app’s current authentication status is AuthorizationStatus.denied. The completion handler’s Result parameter indicates whether the request completed successfully. It doesn’t indicate your app’s authorization state. After you revoke authorization, your app no longer provides parental controls, and the system no longer enforces restrictions, such as preventing the user from deleting your app.

## See Also

### Requesting and revoking authorization

- [requestAuthorization(for:)](familycontrols/authorizationcenter/requestauthorization(for:).md)
