1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/externals/twilio-php/docs/usage/rest/accounts.rst
2014-05-17 15:41:12 -07:00

24 lines
603 B
ReStructuredText

==================
Accounts
==================
Updating Account Information
==============================
Updating :class:`Account <Services_Twilio_Rest_Account>` information is really easy:
.. code-block:: php
$client = new Services_Twilio('AC123', '123');
$account = $client->account;
$account->update(array('FriendlyName' => 'My Awesome Account'));
Creating a Subaccount
==============================
.. code-block:: php
$client = new Services_Twilio('AC123', '123');
$subaccount = $client->accounts->create(array(
'FriendlyName' => 'My Awesome SubAccount'
));