---
title: "How to remove public or external sharing from a file (Revoke)"
description: "Use Revoke in HOPLONai Cloud DLP to remove risky sharing from Google Drive or OneDrive files that are public, shared externally or sent to personal email."
url: https://help.hoplonai.com/en/articles/114-how-to-remove-public-or-external-sharing-from-a-file-revoke
collection: "Cloud DLP Module"
updated: 2026-11-21
language: en
---

# How to remove public or external sharing from a file (Revoke)

Use Revoke in HOPLONai Cloud DLP to remove risky sharing from Google Drive or OneDrive files that are public, shared externally or sent to personal email.

When Cloud DLP finds a file shared too widely, you can remove that sharing from HOPLONai without opening Google Drive or OneDrive.

## Steps

1.  Open **Cloud DLP**.
    
2.  Click the card for the risk you want to fix: **Publicly Shared Files**, **Sensitive Files Shared Externally** or **Files shared to personal Email**.
    
3.  Find the file and click **Revoke** on its row.
    
4.  You'll see **Revoke Successfully Requested**. The dashboard updates shortly after.
    

## Good to know

-   Revoke isn't available for files in shared drives. Ask the shared drive's administrator to remove the access.
    
-   Tell the file owner before you revoke. Anyone who relied on the link loses access.
    
-   If you see "Failed to revoke file", try again later or contact support.
