Update your account

Updates contact and billing information related to your account. If you exclude any properties from the request, the operation leaves them unchanged.

📘

When updating an account's country to US, you'll get an error if the account's zip is not a valid US zip code.

Parent and child accounts

In the context of the parent and child accounts feature:

  • You can't change the company for a parent account.

  • Child account users can't run this operation.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_account
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_write

CLI

linode-cli account update \ --address_1 "123 Main St." \ --address_2 "Suite 101" \ --city Philadelphia \ --company My Company \ LLC \ --country US \ --email jsmith@mycompany.com \ --first_name John \ --last_name Smith \ --phone 555-555-1212 \ --state PA \ --tax_id ATU99999999 \ --zip 19102

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
Body Params
string
length ≤ 64

The first line of this account's billing address.

string
length ≤ 64

The second line of this account's billing address.

string
length ≤ 24

The city for this account's address.

string
length ≤ 128

The company name assigned to this account. This value can't include the characters, < > ( ) " =.

string

The two-letter ISO 3166 country code for this account's address.

string
length ≤ 128

The email address of the person assigned to this account.

string
length ≤ 50

The first name of the person assigned to this account. This value can't include the characters, < > ( ) " =.

string
length ≤ 50

The last name of the person assigned to this account. This value can't include the characters, < > ( ) " =.

string
length ≤ 32

The phone number assigned to this account.

string
length ≤ 24

The state or province for the address set for your account, if applicable.

  • If the address is in the United States (US) or Canada (CA), this is the two-letter ISO 3166 code for the state or province.

  • If it's a US military address, this is the abbreviation for that territory. This includes AA for Armed Forces Americas (excluding Canada), AE for Armed Forces Africa, Europe, Middle East, and Canada, or AP for Armed Forces Pacific.

  • If outside the US or CA, this is the province associated with the account's address.

string
length ≤ 25

The tax identification number (TIN) assigned to this account, used for tax calculations. A TIN is set by the national authorities in your country, based on your address_1, and it may be named differently between countries. Set to an empty string ("") if a TIN doesn't apply or for countries that don't collect tax.

📘

This value is externally validated. If the validation is successful, a tax_id_valid event is triggered. If unsuccessful, a tax_id_invalid event is triggered and an error response is issued for an operation that included it.

string

The zip code for this account's address.

  • It can only contain ASCII letters, numbers, and dashes (-).

  • It can't contain more than nine letter or number characters.

Responses

Response body
object
active_promotions
array of objects
active_promotions
object
string

The amount available to spend per month.

string

The total amount of credit left for this promotion.

string

A detailed description of this promotion.

string

When this promotion's credits expire.

string

The location of an image for this promotion.

string
enum

The service to which this promotion applies.

all backup blockstorage db_mysql ip_v4 linode linode_disk linode_memory longview managed nodebalancer objectstorage placement_group transfer_tx

string

Short details of this promotion.

string

The amount of credit left for this month for this promotion.

date-time

Read-only The date and time the account was activated.

string
length ≤ 64

The first line of this account's billing address.

string
length ≤ 64

The second line of this account's billing address.

number

Read-only This account's balance, in US dollars.

number

Read-only This account's current estimated invoice in US dollars. This is not your final invoice balance. Transfer charges are not included in the estimate.

string
enum

Read-only The source of service charges for this account. Accounts that are associated with Akamai-specific customers return a value of akamai. All other accounts return a value of linode.

akamai linode

capabilities
array of strings

Read-only The Akamai Cloud Computing services your account supports.

capabilities
string
length ≤ 24

The city for this account's address.

string
length ≤ 128

The company name assigned to this account. This value can't include the characters, < > ( ) " =.

string

The two-letter ISO 3166 country code for this account's address.

credit_card
object

Read-only The credit card information assigned to this account.

string | null

The expiration month and year of the credit_card.

string | null

The last four digits of the credit_card assigned to this account.

string
length ≤ 128

The email address of the person assigned to this account.

uuid

Read-only An external unique identifier for this account.

string
length ≤ 50

The first name of the person assigned to this account. This value can't include the characters, < > ( ) " =.

string
length ≤ 50

The last name of the person assigned to this account. This value can't include the characters, < > ( ) " =.

string
length ≤ 32

The phone number assigned to this account.

string
length ≤ 24

The state or province for the address set for your account, if applicable.

  • If the address is in the United States (US) or Canada (CA), this is the two-letter ISO 3166 code for the state or province.

  • If it's a US military address, this is the abbreviation for that territory. This includes AA for Armed Forces Americas (excluding Canada), AE for Armed Forces Africa, Europe, Middle East, and Canada, or AP for Armed Forces Pacific.

  • If outside the US or CA, this is the province associated with the account's address.

string
length ≤ 25

The tax identification number (TIN) assigned to this account, used for tax calculations. A TIN is set by the national authorities in your country, based on your address_1, and it may be named differently between countries. Set to an empty string ("") if a TIN doesn't apply or for countries that don't collect tax.

📘

This value is externally validated. If the validation is successful, a tax_id_valid event is triggered. If unsuccessful, a tax_id_invalid event is triggered and an error response is issued for an operation that included it.

string

The zip code for this account's address.

  • It can only contain ASCII letters, numbers, and dashes (-).

  • It can't contain more than nine letter or number characters.

Language
Credentials