File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -438,7 +438,12 @@ paths:
438438 - oauth:
439439 - account:read_write
440440 requestBody:
441- description: Update contact and billing information.
441+ description: |
442+ Update contact and billing information.
443+
444+ Account properties that are excluded from a request remain unchanged.
445+
446+ When updating an Account's `country` to "US", an error is returned if the Account's `zip` is not a valid US zip code.
442447 required: true
443448 content:
444449 application/json:
@@ -469,14 +474,25 @@ paths:
469474 "last_name": "Smith",
470475 "phone": "555-555-1212",
471476 "state": "PA",
472- "zip": "19102",
477+ "tax_id": "ATU99999999",
478+ "zip": "19102"
473479 }' \
474480 https://api.linode.com/v4/account
475481 - lang: CLI
476482 source: >
477483 linode-cli account update \
484+ --address_1 "123 Main St." \
485+ --address_2 "Suite 101" \
486+ --city Philadelphia \
487+ --company My Company \ LLC \
488+ --country US \
489+ --email jsmith@mycompany.com \
478490 --first_name John \
479- --last_name Smith
491+ --last_name Smith \
492+ --phone 555-555-1212 \
493+ --state PA \
494+ --tax_id ATU99999999 \
495+ --zip 19102
480496 /account/cancel:
481497 x-linode-cli-command: account
482498 post:
@@ -18914,6 +18930,7 @@ components:
1891418930 properties:
1891518931 active_promotions:
1891618932 type: array
18933+ readOnly: true
1891718934 items:
1891818935 $ref: '#/components/schemas/Promotion'
1891918936 active_since:
You can’t perform that action at this time.
0 commit comments