Account v4.176.0

Get your account

GET https://api.linode.com/v4/account

Returns the contact and billing information related to your Account.


Authorizations

personalAccessToken
oauthaccount:read_only

Request Samples

Response Samples

Responses

Update your account

PUT https://api.linode.com/v4/account

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

Note. 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 a parent and child account environment, the following apply:

  • You can’t change the company for a parent account. Akamai uses this value to set the name for a child account parent user (proxy user) on any child account.

  • Child account users can’t run this operation. These users don’t have access to billing-related operations.


Authorizations

personalAccessToken
oauthaccount:read_write

Request Samples

Request Body Schema

address_1
string <= 64 characters

First line of this Account’s billing address.

address_2
string <= 64 characters

Second line of this Account’s billing address.

city
string <= 24 characters

The city for this Account’s billing address.

company
string <= 128 characters

The company name associated with this Account.

Must not include any of the following characters: < > ( ) " =

country
string

The two-letter ISO 3166 country code of this Account’s billing address.

email
string <= 128 characters

The email address of the person associated with this Account.

first_name
string <= 50 characters

The first name of the person associated with this Account.

Must not include any of the following characters: < > ( ) " =

last_name
string <= 50 characters

The last name of the person associated with this Account.

Must not include any of the following characters: < > ( ) " =

phone
string <= 32 characters

The phone number associated with this Account.

state
string <= 24 characters

If billing address is in the United States (US) or Canada (CA), only the two-letter ISO 3166 State or Province code are accepted. If entering a US military address, state abbreviations (AA, AE, AP) should be entered. If the address is outside the US or CA, this is the Province associated with the Account’s billing address.

tax_id
string <= 25 characters

The tax identification number associated with this Account, for tax calculations in some countries. If you do not live in a country that collects tax, this should be an empty string ("").

zip
string

The zip code of this Account’s billing address. The following restrictions apply:

  • Can only contain ASCII letters, numbers, and hyphens (-).
  • Must not contain more than 9 letter or number characters.

Response Samples

Responses

Get a region's service availability

GET https://api.linode.com/v4/account/availability/{id}

View the available services for your account in a specific region.

Note. Only authorized users can access this.


Authorizations

personalAccessToken
oauthaccount:read_only

Path Parameters

idstring
Required

The slug for the applicable data center. Run the List regions operation to view the slug for each data center.

Request Samples

Response Samples

Responses

Cancel your account

POST https://api.linode.com/v4/account/cancel

Cancels an active Linode account. Akamai attempts to charge the credit card on file for any remaining balance. An error occurs if this charge fails.

Note. This operation can only be accessed by account users with unrestricted access.

Parent and child accounts In a parent and child account environment, the following apply:

  • A child account user can’t cancel a child account.
  • You can’t cancel a parent account if it has an active child account.
  • You need to work with your Akamai account team to dissolve any parent-child account relationships before you can fully cancel a child or parent account.

Authorizations

personalAccessToken
oauthaccount:read_write

Request Samples

Request Body Schema

comments
string

Any reason for cancelling the account, and any other comments you might have about your Linode service.

Response Samples

Responses