diff --git a/docs/usage/accounts.rst b/docs/usage/accounts.rst index 2b9f092fa7..fb068f176d 100644 --- a/docs/usage/accounts.rst +++ b/docs/usage/accounts.rst @@ -23,8 +23,8 @@ Use the :meth:`Account.update` to modify one of your accounts. Right now the onl AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY" client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN) - account = client.accounts.get() - account.update(name="My Awesome Account") + account = client.accounts.get(ACCOUNT_SID) + account.update(friendly_name="My Awesome Account") Creating Subaccounts ----------------------