Universal Messaging 10.5 | Administration Guide | Using Command Central to Manage Universal Messaging | Universal Messaging and the Command Line Interface | Commands for Snooping on Channels | Purge Snooped Events on a Channel
 
Purge Snooped Events on a Channel
*To purge a snooped event from a channel and the snooped events list for a specific user:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
channels purgeEvent name=channel_name user=user_name id=event_id
*To purge a range of snooped events from a channel and the snooped events list for a specific user:
sagcc exec administration component node_alias Universal-Messaging-server_instance_name
channels purgeEvents name=channel_name user=user_name
[fromeid=first_event_id] [toeid=last_event_id]
Arguments and Options
Argument or Option
Value
Universal-Messaging-server_instance_name
Required. The ID of the Universal Messaging server instance on which you want to purge snooped events.
name=channel_name
Required. The name of the channel on which you want to purge events.
user=user_name
Required. The username of the user for whom you want to purge event.
id=event_id
Required with the sagcc exec administration component purgeEvent command. The ID of the event to purge.
[fromeid=first_event_id]
Optional. The ID of the first event in the event range that you want to purge.
[toeid=last_event_id]
Optional. The ID of the last event in the event range that you want to purge.
Usage Notes
When you want to purge a range of snooped events:
*If you do not specify fromeid, all events from the first one on the channel to the one with ID smaller than or equal to toeid are purged.
*If you do not specify toeid, all events from the one with ID greater than or equal to fromeid to the last one on the channel are purged.
*If you do not specify both fromeid and toeid, all events on the channel are purged.
Examples
*To purge a snooped event with ID "2" from channel "channel2", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
channels purgeEvent name=channel2 user=Administrator id=2
*To purge the snooped events with IDs from "2" to "6" from channel "channel2", created on the server instance with ID "Universal-Messaging-umserver" that is installed in the installation with alias name "sag01", for user "Administrator":
sagcc exec administration component sag01 Universal-Messaging-umserver
channels purgeEvents name=channel2 user=Administrator fromid=2 toid=6