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:
438
438
- oauth:
439
439
- account:read_write
440
440
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.
442
447
required: true
443
448
content:
444
449
application/json:
@@ -469,14 +474,25 @@ paths:
469
474
"last_name": "Smith",
470
475
"phone": "555-555-1212",
471
476
"state": "PA",
472
- "zip": "19102",
477
+ "tax_id": "ATU99999999",
478
+ "zip": "19102"
473
479
}' \
474
480
https://api.linode.com/v4/account
475
481
- lang: CLI
476
482
source: >
477
483
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
+
478
490
--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
480
496
/account/cancel:
481
497
x-linode-cli-command: account
482
498
post:
@@ -18914,6 +18930,7 @@ components:
18914
18930
properties:
18915
18931
active_promotions:
18916
18932
type: array
18933
+ readOnly: true
18917
18934
items:
18918
18935
$ref: '#/components/schemas/Promotion'
18919
18936
active_since:
You can’t perform that action at this time.
0 commit comments