8000 docs/usage/accounts.rst: fix outdated example for getting & updating … · stomatocode/twilio-python@9c08871 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9c08871

Browse files
author
Hunter Blanks
committed
docs/usage/accounts.rst: fix outdated example for getting & updating an account
1 parent e0db73f commit 9c08871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/accounts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Use the :meth:`Account.update` to modify one of your accounts. Right now the onl
2323
AUTH_TOKEN = "YYYYYYYYYYYYYYYYYY"
2424
2525
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN)
26-
account = client.accounts.get()
27-
account.update(name="My Awesome Account")
26+
account = client.accounts.get(ACCOUNT_SID)
4987 27+
account.update(friendly_name="My Awesome Account")
2828
2929
Creating Subaccounts
3030
----------------------

0 commit comments

Comments
 (0)
0