Skip to content

spo web set

Updates subsite properties

Usage

spo web set [options]

Options

Option Description
--help output usage information
-u, --webUrl <webUrl> URL of the subsite to update
-t, --title [title] New title for the subsite
-d, --description [description] New description for the subsite
--siteLogoUrl [siteLogoUrl] New site logo URL for the subsite
--quickLaunchEnabled [quickLaunchEnabled] Set to true to enable quick launch and to false to disable it
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Important

Before using this command, log in to a SharePoint Online site, using the spo login command.

Remarks

To update subsite properties, you have to first log in to a SharePoint site using the spo login command, eg. spo login https://contoso.sharepoint.com.

Examples

Update subsite title

spo web set --webUrl https://contoso.sharepoint.com/sites/team-a --title Team-a

Hide quick launch on the subsite

spo web set --webUrl https://contoso.sharepoint.com/sites/team-a --quickLaunchEnabled false