# Remove all permissions from site

Source: [https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/sharepoint-permissions-processing/remove-all-permissions-from-site/](https://docs.virtosoftware.com/docs/virto-workflow-automation-app/virto-workflows-for-office-365/sharepoint-permissions-processing/remove-all-permissions-from-site/)
Product: Virto Workflow Automation App
Updated: 2026-08-12


This activity deletes all roles assigned to users on site. SharePoint Designer phrase

![SharePoint Designer phrase for removing all permissions from a site](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/remove_all_permissions_from_site_1.jpg)

## **Parameters**

Input parameters


| Parameter | Description | Example |
|---|---|---|
| SiteURL (optional) | The URL of a source SharePoint site. If the valuefield is empty, current site will be used. | https://contoso/SiteUrl; https://contoso/Sites/SiteUrl;[%Workflow Context:Current Site URL%]/subSite |


Example

![Workflow example configuring the Remove all permissions from site activity](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/remove_all_permissions_from_site_2.png)

**Note:**We recommend you to run all Virto Permissions actions inside App Step to avoid failing of your subsequent actions inside the workflow.

Example

![Remove all permissions from site activity placed inside an App Step](https://img-docs.virtosoftware.com/wp-content/uploads/2024/10/remove_all_permissions_from_site_3.png)
