Skip to main content
DELETE
/
ai
/
mcp_servers
/
{mcp_server_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const mcpServer = await client.ai.mcpServers.delete('mcp_server_id');

console.log(mcpServer);
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mcp_server_id
string
required

Response

Successful Response