#Remove-SPOWeb Removes a subweb in the current web ##Syntax
Remove-SPOWeb -Identity <WebPipeBind> [-Force [<SwitchParameter>]] [-Web <WebPipeBind>]Remove-SPOWeb -Url <String> [-Force [<SwitchParameter>]] [-Web <WebPipeBind>]##Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Force | SwitchParameter | False | Do not ask for confirmation to delete the subweb |
| Identity | WebPipeBind | True | Identity/Id/Web object to delete |
| Url | String | True | The site relative url of the web, e.g. 'Subweb1' |
| Web | WebPipeBind | False | The web to apply the command to. Omit this parameter to use the current web. |
| ##Examples |
###Example 1
PS:> Remove-SPOWeb -Url projectARemove a web
###Example 2
PS:> Remove-SPOWeb -Identity 5fecaf67-6b9e-4691-a0ff-518fc9839aa0Remove a web specified by its ID
###Example 3
PS:> Get-SPOSubWebs | Remove-SPOWeb -ForceRemove all subwebs and do not ask for confirmation