Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const migrationSources = await client.storage.migrationSources.list();
console.log(migrationSources.data);{
"data": [
{
"id": "<string>",
"provider": "aws",
"source_region": "<string>",
"provider_auth": {
"access_key": "<string>",
"secret_access_key": "<string>"
},
"bucket_name": "<string>"
}
],
"meta": {
"page_number": [
2
],
"page_size": [
25
],
"total_pages": [
3
],
"total_results": [
55
]
}
}import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const migrationSources = await client.storage.migrationSources.list();
console.log(migrationSources.data);{
"data": [
{
"id": "<string>",
"provider": "aws",
"source_region": "<string>",
"provider_auth": {
"access_key": "<string>",
"secret_access_key": "<string>"
},
"bucket_name": "<string>"
}
],
"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.
Was this page helpful?