JavaScript
import Telnyx from 'telnyx'; const client = new Telnyx(); const response = await client.rooms.sessions.actions.kick('0ccc7b54-4df3-4bca-a65a-3da1ecc777f0'); console.log(response.data);
{ "data": { "result": "ok" } }
The unique identifier of a room session.
"0ccc7b54-4df3-4bca-a65a-3da1ecc777f0"
Parameters that can be defined during Kick action.
Either a list of participant id to perform the action on, or the keyword "all" to perform the action on all participant.
all
"all"
List of participant id to exclude from the action.
Success Action Response
Show child attributes
Was this page helpful?