Skip to content

New command: spo page section remove #6541

@mkm17

Description

@mkm17

Usage

m365 spo page section remove

Description

Removes the specified section from the modern page

Options

Option Description
-u, --webUrl <webUrl> URL of the site where the page to retrieve is located.
-n, --pageName <pageName> Name of the page from which to remove a section.
-s, --section <section> ID of the section to be removed.
-f, --force Don't prompt for confirmation.

Examples

Remove the page section

m365 spo page section remove --webUrl https://contoso.sharepoint.com/sites/team-a --pageName home.aspx --section 1

Default properties

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions