Delete a meeting session
Stops a meeting session without deleting its persisted record. Scheduled bots are cancelled, while bots that are joining or active are asked to leave. The persisted meeting session record remains available.
DELETE
/
meeting_sessions
/
{id}
Delete a meeting session
curl --request DELETE \
--url https://api.telnyx.com/v2/meeting_sessions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telnyx.com/v2/meeting_sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telnyx.com/v2/meeting_sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telnyx.com/v2/meeting_sessions/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telnyx.com/v2/meeting_sessions/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.telnyx.com/v2/meeting_sessions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telnyx.com/v2/meeting_sessions/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "mtgsess_9b2f...",
"account_id": "22",
"provider": "recall",
"status": "leaving",
"status_detail": null,
"recording": true,
"meeting_url": "https://meet.google.com/abc-defg-hij",
"platform": "google_meet",
"bot_name": "Notetaker",
"config": {
"voice": null,
"speak_on_enter": null,
"barge_in": false,
"summarize_on_end": true
},
"avatar": null,
"avatar_state": null,
"avatar_state_changed_at": null,
"assistant": null,
"assistant_state": null,
"assistant_state_changed_at": null,
"webhook_url": null,
"metadata": {},
"failure_reason": null,
"created_at": "2026-06-16T08:58:00Z",
"join_at": null,
"joined_at": "2026-06-16T09:00:00Z",
"ended_at": null,
"updated_at": "2026-06-16T09:00:00Z"
}
}{
"error": {
"code": "unauthorized",
"message": "invalid or missing credentials"
}
}{
"error": {
"code": "forbidden",
"message": "credential is not permitted"
}
}{
"error": {
"code": "not_found",
"message": "meeting session not found"
}
}{
"error": {
"code": "invalid_state",
"message": "only scheduled sessions can be updated"
}
}{
"error": {
"code": "auth_overloaded",
"message": "authentication temporarily overloaded"
}
}{
"error": {
"code": "internal_error",
"message": "internal server error"
}
}{
"error": {
"code": "provider_error",
"message": "meeting provider rejected bot stop"
}
}{
"error": {
"code": "not_configured",
"message": "required feature is not configured"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier for the meeting session.
Example:
"mtgsess_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Response
Successful response with the deleted meeting session.
Represents a meeting session. All serializer fields are present and required; nullable fields use null when absent. No actor, provider-bot, idempotency, routing, key, or internal fields are exposed.
Show child attributes
Show child attributes
Was this page helpful?
⌘I
Delete a meeting session
curl --request DELETE \
--url https://api.telnyx.com/v2/meeting_sessions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.telnyx.com/v2/meeting_sessions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.telnyx.com/v2/meeting_sessions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.telnyx.com/v2/meeting_sessions/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.telnyx.com/v2/meeting_sessions/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.telnyx.com/v2/meeting_sessions/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.telnyx.com/v2/meeting_sessions/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "mtgsess_9b2f...",
"account_id": "22",
"provider": "recall",
"status": "leaving",
"status_detail": null,
"recording": true,
"meeting_url": "https://meet.google.com/abc-defg-hij",
"platform": "google_meet",
"bot_name": "Notetaker",
"config": {
"voice": null,
"speak_on_enter": null,
"barge_in": false,
"summarize_on_end": true
},
"avatar": null,
"avatar_state": null,
"avatar_state_changed_at": null,
"assistant": null,
"assistant_state": null,
"assistant_state_changed_at": null,
"webhook_url": null,
"metadata": {},
"failure_reason": null,
"created_at": "2026-06-16T08:58:00Z",
"join_at": null,
"joined_at": "2026-06-16T09:00:00Z",
"ended_at": null,
"updated_at": "2026-06-16T09:00:00Z"
}
}{
"error": {
"code": "unauthorized",
"message": "invalid or missing credentials"
}
}{
"error": {
"code": "forbidden",
"message": "credential is not permitted"
}
}{
"error": {
"code": "not_found",
"message": "meeting session not found"
}
}{
"error": {
"code": "invalid_state",
"message": "only scheduled sessions can be updated"
}
}{
"error": {
"code": "auth_overloaded",
"message": "authentication temporarily overloaded"
}
}{
"error": {
"code": "internal_error",
"message": "internal server error"
}
}{
"error": {
"code": "provider_error",
"message": "meeting provider rejected bot stop"
}
}{
"error": {
"code": "not_configured",
"message": "required feature is not configured"
}
}