mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
24 lines
603 B
ReStructuredText
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'
|
|
));
|