Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: m365 spp model unapply or revert #6584

Open
Tracked by #6074
mkm17 opened this issue Feb 1, 2025 · 0 comments
Open
Tracked by #6074

New command: m365 spp model unapply or revert #6584

mkm17 opened this issue Feb 1, 2025 · 0 comments

Comments

@mkm17
Copy link
Contributor

mkm17 commented Feb 1, 2025

Usage

m365 spp model unapply/revert [options]

Description

Removes a trained document understanding model from the document library.

Options

Option Description
-u, --webUrl <webUrl> The URL of the site where the library is located.
-i, --id [id] The unique ID of the model to remove. Specify id or title but not both.
-t, --title [title] The display name (case-sensitive) of the model to remove. Specify id or title but not both.
--listTitle [listTitle] The title of the library from which to remove the model. Specify either listTitle, listId, or listUrl but not multiple.
--listId [listId] The ID of the library from which to remove the model. Specify either listTitle, listId, or listUrl but not multiple.
--listUrl [listUrl] Server or web-relative URL of the library from which to remove the model. Specify either listTitle, listId, or listUrl but not multiple.
-f, --force Don't prompt for confirmation.

Examples

Removes a trained document understanding model by ID from a document library based on the list title.

m365 spp model unapply --webUrl 'https://contoso.sharepoint.com' --id '7645e69d-21fb-4a24-a17a-9bdfa7cb63dc' --listTitle 'Shared Documents'

Removes a trained document understanding model by title from a document library based on the list title.

m365 spp model unapply --webUrl 'https://contoso.sharepoint.com' --title 'ModelExample' --listTitle 'Shared Documents'

Removes a trained document understanding model by title from a document library based on the list URL.

m365 spp model unapply --webUrl 'https://contoso.sharepoint.com' --title 'ModelExample' --listUrl '/Shared Documents'

Default properties

No response

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant