import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const wirelessBlocklist = await client.wirelessBlocklists.retrieve('6a09cdc3-8948-47f0-aa62-74ac943d6c58');
console.log(wirelessBlocklist.data);{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "wireless_blocklist",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "My wireless blocklist.",
"type": "country",
"values": [
"CA",
"MX",
"US"
]
}
}Retrieve information about a Wireless Blocklist.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const wirelessBlocklist = await client.wirelessBlocklists.retrieve('6a09cdc3-8948-47f0-aa62-74ac943d6c58');
console.log(wirelessBlocklist.data);{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "wireless_blocklist",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "My wireless blocklist.",
"type": "country",
"values": [
"CA",
"MX",
"US"
]
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the wireless blocklist.
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
Successful Response
Show child attributes
Identifies the resource.
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
"wireless_blocklist"
ISO 8601 formatted date-time indicating when the resource was created.
"2018-02-02T22:25:27.521Z"
ISO 8601 formatted date-time indicating when the resource was updated.
"2018-02-02T22:25:27.521Z"
The wireless blocklist name.
"My wireless blocklist."
The type of the wireless blocklist.
country, mcc, plmn "country"
Values to block. The values here depend on the type of Wireless Blocklist.
ISO 3166-1 Alpha-2 Country Code.
"US"
["CA", "MX", "US"]Was this page helpful?