pnp / cli-microsoft365

Manage Microsoft 365 and SharePoint Framework projects on any platform
https://aka.ms/cli-m365
MIT License
882 stars 312 forks source link

New command: m365 spo premium model remove #6118

Open mkm17 opened 5 days ago

mkm17 commented 5 days ago

Usage

m365 spo premium model remove [options]

Description

Delete a Microsoft Syntex document understanding model

Options

Option Description
-u, --siteUrl <siteUrl> The URL of the content center site.
-i, --id [id] The unique ID of the model to delete. Specify either id or title but not both.
-t, --title [title] The display name (case-sensitive) of the model to remove. Specify either id or title but not both.
-f, --force Don't prompt for confirming removing the model.

Examples

Delete a Microsoft Syntex document understanding model using the model’s UniqueId.

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

Delete a Microsoft Syntex document understanding model using the model’s Title.

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

Default properties

No response

Additional Info

These two endpoints should be used:

Adam-it commented 4 days ago

LGTM to me 👍👍. I would only use id instead of uniqueId

@pnp/cli-for-microsoft-365-maintainers any other feed on that?