Usage
spo eventreceiver remove [options]
Description
This command will remove an event receiver from a list or web
Options
| Option |
Description |
-u, --webUrl <webUrl> |
The URL of the web of which to remove the event receiver. |
--listTitle [listTitle] |
The title of the list of which to remove the event receiver, if the event receiver should be removed from a list. Specify either listTitle, listId or listUrl. |
--listId [listId] |
The id of the list for which to remove the event receivers, if the event receiver should be removed from a list. Specify either listTitle, listId or listUrl. |
--listUrl [listUrl] |
The url of the list for which to remove the event receiver, if the event receiver should be removed from a list. Specify either listTitle, listId or listUrl. |
-n, --name [name] |
The name of the event receiver to remove. Specify --name or --id but not both. |
-i, --id [id] |
The id of the event receiver to remove. Specify --name or --id but not both. |
--scope [scope] |
The scope on which to retrieve the Event Receiver. Can be either "Site" or "Web". Defaults to "Web". Only applicable when not specifying any of the list properties |
--confirm |
Don't prompt for confirmation |
Additional Info
If the user refers to the event receiver by name and the API returns multiple matches, the command prints a list of found event receivers and their IDs and asks the user to select the event receiver by ID.
Usage
spo eventreceiver remove [options]
Description
This command will remove an event receiver from a list or web
Options
-u, --webUrl <webUrl>--listTitle [listTitle]listTitle,listIdorlistUrl.--listId [listId]listTitle,listIdorlistUrl.--listUrl [listUrl]listTitle,listIdorlistUrl.-n, --name [name]--nameor--idbut not both.-i, --id [id]--nameor--idbut not both.--scope [scope]--confirmAdditional Info
If the user refers to the event receiver by name and the API returns multiple matches, the command prints a list of found event receivers and their IDs and asks the user to select the event receiver by ID.