[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/twilio-php/docs/usage/rest/ -> accounts.rst (source)

   1  ==================
   2  Accounts
   3  ==================
   4  
   5  Updating Account Information
   6  ==============================
   7  
   8  Updating :class:`Account <Services_Twilio_Rest_Account>` information is really easy:
   9  
  10  .. code-block:: php
  11  
  12      $client = new Services_Twilio('AC123', '123');
  13      $account = $client->account;
  14      $account->update(array('FriendlyName' => 'My Awesome Account'));
  15  
  16  Creating a Subaccount
  17  ==============================
  18  
  19  .. code-block:: php
  20  
  21      $client = new Services_Twilio('AC123', '123');
  22      $subaccount = $client->accounts->create(array(
  23        'FriendlyName' => 'My Awesome SubAccount'
  24      ));


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1