Delete Sessions
The delete_sessions.py script deletes sessions on one or more devices. Sessions can be identified by session type, device ID, and session ID. For information about using the SubMan APIs to delete sessions, see the discussion about device REST APIs in MATRIXX Subscriber Management API.
About this task
Procedure
-
Log into the server as a user with
sudo permissions and change to user
mtx
.For example:ssh server_ip_address
sudo su - mtx
-
Open a terminal and enter one of the following commands:
-
delete_sessions.py [options] list_of_devices
For example:delete_sessions.py -s Sy 0:1:5:3 0:1:5:5
-
delete_sessions.py [options] -f inFile
For example:delete_sessions.py -s Gx -f /inputFiles/device_ids.txt -t AccessNumber -v
-