JavaScript
import Telnyx from 'telnyx'; const client = new Telnyx(); const response = await client.rooms.sessions.actions.mute('0ccc7b54-4df3-4bca-a65a-3da1ecc777f0'); console.log(response.data);
{ "data": { "result": "ok" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of a room session.
"0ccc7b54-4df3-4bca-a65a-3da1ecc777f0"
Parameters that can be defined during Mute 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
"ok"
Was this page helpful?