Skip to content

spo web remove

Delete specified subsite


spo web remove [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
--query [query] JMESPath query string. See for more information and examples
-o, --output [output] Output type. json,text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging


Delete subsite without prompting for confirmation

spo web remove --webUrl --confirm