import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const simCardDataUsageNotification = await client.simCardDataUsageNotifications.update(
'6a09cdc3-8948-47f0-aa62-74ac943d6c58',
);
console.log(simCardDataUsageNotification.data);{
"data": {
"id": "79228acc-3f08-4e70-ac68-cb5aae8b537a",
"sim_card_id": "b34c1683-cd85-4493-b9a5-315eb4bc5e19",
"threshold": {
"amount": "2048.0",
"unit": "MB"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Updates information for a SIM Card Data Usage Notification.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const simCardDataUsageNotification = await client.simCardDataUsageNotifications.update(
'6a09cdc3-8948-47f0-aa62-74ac943d6c58',
);
console.log(simCardDataUsageNotification.data);{
"data": {
"id": "79228acc-3f08-4e70-ac68-cb5aae8b537a",
"sim_card_id": "b34c1683-cd85-4493-b9a5-315eb4bc5e19",
"threshold": {
"amount": "2048.0",
"unit": "MB"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the resource.
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
The SIM card individual data usage notification information.
The identification UUID of the related SIM card resource.
"b34c1683-cd85-4493-b9a5-315eb4bc5e19"
Successful Response
The SIM card individual data usage notification information.
Show child attributes
Identifies the resource.
"79228acc-3f08-4e70-ac68-cb5aae8b537a"
The identification UUID of the related SIM card resource.
"b34c1683-cd85-4493-b9a5-315eb4bc5e19"
"sim_card_data_usage_notification"
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"
{
"id": "79228acc-3f08-4e70-ac68-cb5aae8b537a",
"sim_card_id": "b34c1683-cd85-4493-b9a5-315eb4bc5e19",
"threshold": { "amount": "2048.0", "unit": "MB" },
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}Was this page helpful?