Check out our upcoming events and meetups! View events →
Note: this will also kick all participants currently present in the room
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"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?
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"
}
}