Skip to main content
GET
/
storage
/
migration_sources
/
{id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const migrationSource = await client.storage.migrationSources.retrieve('');

console.log(migrationSource.data);
{
  "data": {
    "provider": "aws",
    "provider_auth": {
      "access_key": "<string>",
      "secret_access_key": "<string>"
    },
    "bucket_name": "<string>",
    "id": "<string>",
    "source_region": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique identifier for the data migration source.

Response

200 - application/json

Create Migration Source Response

data
object