Universal Messaging 10.7 | Administration Guide | Using Command Central to Manage Universal Messaging | Using the Command Line to Manage Universal Messaging | Channel Snoop | Purge Snooped Events from a Channel
 
Purge Snooped Events from a Channel
Purges a snooped event or a range of snooped events from a channel for a specific user.
Syntax
*To purge a snooped event from a channel and the snooped events list for a specific user:
sagcc exec administration component nodeAlias Universal-Messaging-instanceName
channels purgeEvent name=channelName user=userName id=eventId
*To purge a range of snooped events from a channel and the snooped events list for a specific user:
sagcc exec administration component nodeAlias Universal-Messaging-instanceName
channels purgeEvents name=channelName user=userName
[fromeid=firstEventId] [toeid=lastEventId]
Arguments and Options
nodeAlias
Required. The alias name of the installation in which the Universal Messaging server instance is installed.
Universal-Messaging-instanceName
Required. The ID of the Universal Messaging server instance on which you want to purge snooped events.
name=channelName
Required. The name of the channel from which you want to purge events.
user=userName
Required. The username of the user for whom you want to purge events.
id=eventId
Required with the sagcc exec administration component purgeEvent command. The ID of the event to purge.
[fromeid=firstEventId]
Optional. The ID of the first event in the event range that you want to purge.
[toeid=lastEventId]
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