JavaScript
import Telnyx from 'telnyx'; const client = new Telnyx(); const response = await client.rooms.sessions.actions.end('0ccc7b54-4df3-4bca-a65a-3da1ecc777f0'); console.log(response.data);
{ "data": { "result": "ok" } }
Note: this will also kick all participants currently present in the room
The unique identifier of a room session.
"0ccc7b54-4df3-4bca-a65a-3da1ecc777f0"
Success Action Response
Show child attributes
Was this page helpful?