import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const wirelessBlocklistValues = await client.wirelessBlocklistValues.list({ type: 'country' });
console.log(wirelessBlocklistValues.data);{
"data": [
{
"code": "US",
"name": "United States of America"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Retrieve all wireless blocklist values for a given blocklist type.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const wirelessBlocklistValues = await client.wirelessBlocklistValues.list({ type: 'country' });
console.log(wirelessBlocklistValues.data);{
"data": [
{
"code": "US",
"name": "United States of America"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Wireless Blocklist type for which to list possible values (e.g., country, mcc, plmn).
country, mcc, plmn "country"
A list of possible wireless blocklist values
Was this page helpful?