|
1 | 1 | openapi: 3.0.1 |
2 | 2 | info: |
3 | | - version: 4.127.1 |
| 3 | + version: 4.128.0 |
4 | 4 |
|
5 | 5 | title: Linode API |
6 | 6 | description: | |
@@ -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 | + --email jsmith@mycompany.com \ |
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: |
@@ -19026,8 +19043,8 @@ components: |
19026 | 19043 | description: > |
19027 | 19044 | The tax identification number associated with this Account, |
19028 | 19045 | for tax calculations in some countries. |
19029 | | - If you do not live in a country that collects tax, this should be `null`. |
19030 | | - maxLength: 100 |
| 19046 | + If you do not live in a country that collects tax, this should be an empty string (`""`). |
| 19047 | + maxLength: 25 |
19031 | 19048 | example: ATU99999999 |
19032 | 19049 | euuid: |
19033 | 19050 | type: string |
@@ -19507,7 +19524,11 @@ components: |
19507 | 19524 | x-linode-cli-display: 3 |
19508 | 19525 | label: |
19509 | 19526 | type: string |
19510 | | - description: The database backup's label, for display purposes only. |
| 19527 | + maxLength: 30 |
| 19528 | + description: | |
| 19529 | + The database backup's label, for display purposes only. |
| 19530 | + |
| 19531 | + Must include only ASCII letters or numbers. |
19511 | 19532 | example: Scheduled - 02/04/22 11:11 UTC-XcCRmI |
19512 | 19533 | x-linode-cli-display: 2 |
19513 | 19534 | created: |
|
0 commit comments