Skip to content

New command: delete specified subsite #192

@waldekmastykarz

Description

@waldekmastykarz

Delete specified subsite

  • command: spo web remove -u|--webUrl <webUrl> --confirm
  • webUrl: URL of the subsite to remove
  • confirm: Do not prompt for confirmation before deleting the subsite

Delete subsite using:

POST <webUrl>/_api/web
accept: application/json;odata=nometadata
X-HTTP-Method: DELETE
x-requestdigest: 0x5AB7E...

Ensure you have access token for the web specified in the `webUrl` option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions