Skip to main content
POST
/
managed_accounts
/
{id}
/
actions
/
disable
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

const response = await client.managedAccounts.actions.disable('id');

console.log(response.data);
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Managed Account User ID

Response

Successful response with information about a single managed account.

data
ManagedAccount · object