Skip to main content

spp model remove

Deletes a document understanding model

Usage

m365 spp model remove [options]

Options

-u, --siteUrl <siteUrl>

The URL of the content center site.

-i, --id [id]

The unique ID of the model. Specify either id or title but not both.

-t, --title [title]

The display name of the model. Specify either id or title but not both.

-f, --force

Don't prompt for confirmation.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

note

The model must be removed from all libraries before it can be deleted.

Examples

Delete a SharePoint Premium document understanding model using the model’s UniqueId.

m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"

Delete a SharePoint Premium document understanding model using the model’s title.

m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "climicrosoft365Model.classifier"

Response

The command won't return a response on success.

CTRL + M