Kick all users from a channel
How to remove a all users from a channel.
Read time 1 minuteLast updated 2 days ago
Use the following parameters to drop (also known as "kick") all users from a channel when you call
viv_chan_cmd.php-
- the access token with specified claims for this action
access_token -
- the token that
auth_tokenreturnsviv_signin.php -
- the channel's URI
chan_uri -
- use
modefor this actiondrop_all
auth_token- Domain:
mt1s.vivox.com - Issuer:
blindmelon-AppName-dev - Admin user:
blindmelon-AppName-dev-Admin - Channel that contains the users to drop:
sip:confctl-g-blindmelon-AppName-dev.the-channel@mt1s.vivox.com
- vxi:
1 - f:
sip:blindmelon-AppName-dev-Admin@mt1s.vivox.com - iss:
blindmelon-AppName-dev - vxa:
kick - t:
sip:confctl-g-blindmelon-AppName-dev.the-channel@mt1s.vivox.com - exp:
1600349400
Calle30.eyJ2eGkiOjEsImYiOiJzaXA6YmxpbmRtZWxvbi1BcHBOYW1lLWRldi1BZG1pbkBtdDFzLnZpdm94LmNvbSIsImlzcyI6ImJsaW5kbWVsb24tQXBwTmFtZS1kZXYiLCJ2eGEiOiJraWNrIiwidCI6InNpcDpjb25mY3RsLWctYmxpbmRtZWxvbi1BcHBOYW1lLWRldi50aGUtY2hhbm5lbEBtdDFzLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.t-m7FvU9VnRVR3LdVjIOW-jJBj3rML_OBqUO2PKZ0Ms
/api2/viv_chan_cmd.php- - The token used in the preceding example
access_token - - the token that
auth_tokenreturns forviv_signin.phpblindmelon-AppName-dev-Admin - -
chan_urisip:confctl-g-blindmelon.the-channel@mt1s.vivox.com - -
modedrop_all
https://mt1s.www.vivox.com/api2/viv_chan_cmd.php?mode=drop_all&access_token=e30.eyJ2eGkiOjEsImYiOiJzaXA6YmxpbmRtZWxvbi1BcHBOYW1lLWRldi1BZG1pbkBtdDFzLnZpdm94LmNvbSIsImlzcyI6ImJsaW5kbWVsb24tQXBwTmFtZS1kZXYiLCJ2eGEiOiJraWNrIiwidCI6InNpcDpjb25mY3RsLWctYmxpbmRtZWxvbi1BcHBOYW1lLWRldi50aGUtY2hhbm5lbEBtdDFzLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.t-m7FvU9VnRVR3LdVjIOW-jJBj3rML_OBqUO2PKZ0Ms&auth_token=blindmelon-AppName-dev-Admin:1278945699:220a34213b4273a1eab1ac18b5fe67b6:TesterAlias:1&chan_uri=sip:confctl-g-blindmelon.the-channel@mt1s.vivox.com