Skip to content

[Fix] Account Update #649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,12 @@ paths:
- oauth:
- account:read_write
requestBody:
description: Update contact and billing information.
description: |
Update contact and billing information.

Account properties that are excluded from a request remain unchanged.

When updating an Account's `country` to "US", an error is returned if the Account's `zip` is not a valid US zip code.
required: true
content:
application/json:
Expand Down Expand Up @@ -469,14 +474,25 @@ paths:
"last_name": "Smith",
"phone": "555-555-1212",
"state": "PA",
"zip": "19102",
"tax_id": "ATU99999999",
"zip": "19102"
}' \
https://api.linode.com/v4/account
- lang: CLI
source: >
linode-cli account update \
--address_1 "123 Main St." \
--address_2 "Suite 101" \
--city Philadelphia \
--company My Company \ LLC \
--country US \
--email [email protected] \
--first_name John \
--last_name Smith
--last_name Smith \
--phone 555-555-1212 \
--state PA \
--tax_id ATU99999999 \
--zip 19102
/account/cancel:
x-linode-cli-command: account
post:
Expand Down Expand Up @@ -18914,6 +18930,7 @@ components:
properties:
active_promotions:
type: array
readOnly: true
items:
$ref: '#/components/schemas/Promotion'
active_since:
Expand Down