Check out our upcoming events and meetups! View events →
Updates a stored custom credentials configuration.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const customStorageCredential = await client.customStorageCredentials.update('connection_id', {
backend: 'gcs',
configuration: { backend: 'gcs' },
});
console.log(customStorageCredential.connection_id);{
"data": {
"backend": "gcs",
"configuration": {
"backend": "gcs",
"credentials": "OPAQUE_CREDENTIALS_TOKEN",
"bucket": "example-bucket"
}
},
"connection_id": "1234567890",
"record_type": "custom_storage_credentials"
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.
Creates new credentials resource for the specified connection_id.
A response containing a credentials resource.
Show child attributes
Uniquely identifies a Telnyx application (Call Control, TeXML) or Sip connection resource.
"1234567890"
Identifies record type.
custom_storage_credentials Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const customStorageCredential = await client.customStorageCredentials.update('connection_id', {
backend: 'gcs',
configuration: { backend: 'gcs' },
});
console.log(customStorageCredential.connection_id);{
"data": {
"backend": "gcs",
"configuration": {
"backend": "gcs",
"credentials": "OPAQUE_CREDENTIALS_TOKEN",
"bucket": "example-bucket"
}
},
"connection_id": "1234567890",
"record_type": "custom_storage_credentials"
}