Skip to content

spo web remove

Delete specified subsite

Usage

spo web remove [options]

Options

Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the subsite to remove
--confirm Do not prompt for confirmation before deleting the subsite
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Examples

Delete subsite without prompting for confirmation

spo web remove --webUrl https://contoso.sharepoint.com/subsite --confirm