I would like to programmatically (CSOM/PS/etc) be able to delete subsite(s) within a SPO site collection. However, I want the deleted subsite to be moved to the recycling bin and NOT permanently deleted.
For example OnPrem
Remove-SPWeb $subsite.url -Confirm:$false -Recycle:$true
Is there a way to do this with an online subsite?
TJK