SharePoint Online - Delete a site

Use the SharePoint Online - Delete a site action A tool for building the processes, logic, and direction within workflows. to delete a site in a specified parent SharePoint Online site.

For more information about the SharePoint Online connector, go to SharePoint Online.

Configure the SharePoint Online - Delete a site action

Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Select a SharePoint Online Connection. If you do not have a connection, see Add a connection.

    Note: Only the connections created with the Administration authentication method are available in the drop-down. For more information about authentication methods for SharePoint Online connections, see Authentication methods for SharePoint Online connections.

  3. Type the SharePoint site URL of the site that you want to delete.

SharePoint Online - Delete a site action fields and settings

Section Field Description Variable types
(unlabeled)

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

SharePoint Online connection to access the SharePoint Online site that you want to delete.

To refresh the available connections , click .

(n/a)
Site to delete

SharePoint site URL

The URL of the SharePoint Online site that you want to delete.

Example: https://domain.sharepoint.com/sites/hr/onboarding

 

Boolean, Collection, DateTime, Decimal, Integer, Text