List subsites of the specified site.
- command:
spo web list -u|--webUrl <webUrl>
- webUrl: URL of the parent site for which to retrieve the list of subsites
Retrieve webs using GET <webUrl>/_api/web/webs
In text output mode, for each subsite display Id, Title and URL. In JSON output mode, include all properties. Take into account possible limitation of how many webs can be retrieved in a single request and ensure you get all of them. Ensure you have access token for the web specified in the webUrl option.
List subsites of the specified site.
spo web list -u|--webUrl <webUrl>Retrieve webs using
GET <webUrl>/_api/web/websIn text output mode, for each subsite display Id, Title and URL. In JSON output mode, include all properties. Take into account possible limitation of how many webs can be retrieved in a single request and ensure you get all of them. Ensure you have access token for the web specified in the
webUrloption.