Disconnect a meeting calendar
Disconnect the calendar, cancel future joins, and clear retained calendar identity fields. Previously created session records, transcripts, artifacts, and Storage objects remain. The response is the updated connection.
DELETE
/
calendar_connections
/
{id}
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.calendarConnections.delete('id');import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
client.calendar_connections.delete(
"id",
)
package main
import (
"context"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.CalendarConnections.Delete(
context.TODO(),
"id",
)
if err != nil {
panic(err.Error())
}
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
client.calendarConnections().delete("id");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
calendar_connection = telnyx.calendar_connections.delete("id")
puts(calendar_connection)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$calendar_connection = $client->calendarConnections->delete(
'id',
);
var_dump($calendar_connection);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx calendar-connections delete \
--api-key 'My API Key' \
--id idcurl --request DELETE \
--url https://api.telnyx.com/v2/calendar_connections/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "calconn_example",
"platform": "google_calendar",
"platform_email": "[email protected]",
"status": "disconnected",
"status_detail": null,
"auto_join_policy": "all_meetings",
"bot_name": "Notetaker",
"default_barge_in": null,
"default_summarize_on_end": null,
"default_voice": null,
"default_assistant": null,
"default_recording": null,
"default_recording_export": null,
"default_webhook_url": null,
"created_at": "2026-11-05T09:00:00Z",
"updated_at": "2026-11-05T09: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": "auth_overloaded",
"message": "authentication temporarily overloaded"
}
}{
"error": {
"code": "internal_error",
"message": "internal server error"
}
}{
"error": {
"code": "provider_error",
"message": "Meeting data is temporarily unavailable."
}
}{
"error": {
"code": "not_configured",
"message": "required feature is not configured"
}
}Was this page helpful?
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
await client.calendarConnections.delete('id');import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
client.calendar_connections.delete(
"id",
)
package main
import (
"context"
"github.com/team-telnyx/telnyx-go"
"github.com/team-telnyx/telnyx-go/option"
)
func main() {
client := telnyx.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.CalendarConnections.Delete(
context.TODO(),
"id",
)
if err != nil {
panic(err.Error())
}
}
package com.telnyx.sdk.example;
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
public final class Main {
private Main() {}
public static void main(String[] args) {
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
client.calendarConnections().delete("id");
}
}require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
calendar_connection = telnyx.calendar_connections.delete("id")
puts(calendar_connection)<?php
require_once dirname(__DIR__) . '/vendor/autoload.php';
use Telnyx\Client;
use Telnyx\Core\Exceptions\APIException;
$client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API Key');
try {
$calendar_connection = $client->calendarConnections->delete(
'id',
);
var_dump($calendar_connection);
} catch (APIException $e) {
echo $e->getMessage();
}telnyx calendar-connections delete \
--api-key 'My API Key' \
--id idcurl --request DELETE \
--url https://api.telnyx.com/v2/calendar_connections/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "calconn_example",
"platform": "google_calendar",
"platform_email": "[email protected]",
"status": "disconnected",
"status_detail": null,
"auto_join_policy": "all_meetings",
"bot_name": "Notetaker",
"default_barge_in": null,
"default_summarize_on_end": null,
"default_voice": null,
"default_assistant": null,
"default_recording": null,
"default_recording_export": null,
"default_webhook_url": null,
"created_at": "2026-11-05T09:00:00Z",
"updated_at": "2026-11-05T09: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": "auth_overloaded",
"message": "authentication temporarily overloaded"
}
}{
"error": {
"code": "internal_error",
"message": "internal server error"
}
}{
"error": {
"code": "provider_error",
"message": "Meeting data is temporarily unavailable."
}
}{
"error": {
"code": "not_configured",
"message": "required feature is not configured"
}
}