Retrieves the details of an existing FQDN authentication strategy for a specific FQDN connection.
GET
/
fqdn_connections
/
{fqdn_connection_id}
/
fqdn_authentication
JavaScript
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.fqdnConnections.fqdnAuthentication.list()) {
console.log(response);
}
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.fqdn_connections.fqdn_authentication.list(
"fqdn_connection_id",
)
print(page.data)
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();
var page = client.fqdnConnections().fqdnAuthentication().list("fqdn_connection_id");
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.fqdn_connections.fqdn_authentication.list("fqdn_connection_id")
puts(page)
<?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 {
$page = $client->fqdnConnections->fqdnAuthentication->list(
'fqdn_connection_id',
);
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}
telnyx fqdn-connections:fqdn-authentication list \
--api-key 'My API Key' \
--fqdn-connection-id fqdn_connection_id
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const response of client.fqdnConnections.fqdnAuthentication.list()) {
console.log(response);
}
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
)
page = client.fqdn_connections.fqdn_authentication.list(
"fqdn_connection_id",
)
print(page.data)
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();
var page = client.fqdnConnections().fqdnAuthentication().list("fqdn_connection_id");
}
}
require "telnyx"
telnyx = Telnyx::Client.new(api_key: "My API Key")
page = telnyx.fqdn_connections.fqdn_authentication.list("fqdn_connection_id")
puts(page)
<?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 {
$page = $client->fqdnConnections->fqdnAuthentication->list(
'fqdn_connection_id',
);
var_dump($page);
} catch (APIException $e) {
echo $e->getMessage();
}
telnyx fqdn-connections:fqdn-authentication list \
--api-key 'My API Key' \
--fqdn-connection-id fqdn_connection_id