The official Liquid Web API.
Welcome to the Liquid Web API documentation. Our API offers a versatile set of options for managing Liquid Web services, such as Cloud VPS, Cloud Metal/Dedicated, Bare Metal, Object and Block Storage, DNS zones, and virtual IP addresses. To begin, you'll require a my.liquidweb.com API user for authentication and access to this API interface. If you haven't set up one yet, you can find clear instructions on creating API users here: Creating a Liquid Web Cloud API Token.
For added flexibility, we also provide additional API client libraries and the Liquid Web CLI on our Github page: Liquid Web on Github.
Feel free to explore the possibilities our API offers, and don't hesitate to reach out with any questions or feedback you may have. We're here to assist you on your technical journey.
Using the account/auth/token
method, it is possible to receive a temporary authentication token.
While this token remains alive, it can be used in place of a password for HTTP Basic authentication for API requests.
The lifetime of each token can be specified on creation, up to a maximum of twelve hours.
API method calls authenticate using the credentials of a normal user account. If the user in question has enabled 2FA, each API call must be authenticated using a 2FA passcode. Each 2FA passcode is valid for thirty seconds, and during that time, it is the only passcode that is valid.
The trick is that, for important security reasons, each passcode can be used a maximum of one time. This necessarily means that API calls using a 2FA passcode can be made a maximum of once every thirty seconds.
The workaround here is to use the account/auth/token
method to exchange a username + password + passcode combination for a username + token.
This token will allow the use of API calls without the need to submit further 2FA passcodes.
Recall that an authentication token lasts, at a maximum, twelve hours, after which time a new 2FA
passcode would be needed to request a new token.
While this could be done programmatically, such a practice would negate the security benefits of 2FA (namely => the air - gap between TOTP generator and login prompt). As a result, we suggest against the enabling of 2FA for user accounts which will be used to perform API requests.
If the response code is 200, that means we successfully processed the request. Otherwise, the appropriate apache response code will be issued. The response will either be in the format described by the method's documentation, if no error occurred, or in the following format if an exception was raised:
{
"error_class": "ExceptionType",
"error_message": "The error message",
"extra_key": "extra_value"
}
Each error will have at least an 'error_class' and 'error_message' returned. Depending on the error type, additional information might be passed back to help narrow down the cause of the problem.
Currently, the API supports the following encoding formats:
If your desired encoding is not supported, feel free to request it. If it's reasonable to implement, we'll do our best to accommodate the request.
You can specify an encoding by the file extension of the API URL. If none is specified, the default (JSON) will be used.
For example:
This section contains methods to order an account (or order new services for an existing account), and to get details about an account.
Returns account details.
alsowith | Array of any Items Enum: "customerLifecycle" "businessUnit" "mrc" "highlights" "managementPortal" "referAFriend" "accountContact" |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "customerLifecycle"
]
}
}
{- "accnt": 0,
- "account_status": "string",
- "level": "string"
}
List of invoices and payments for the account sorted by created date descending (i.e., most recent first)
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
end_date | string <date> (DATE_VALID) Example: end_date=2012-04-23 A valid date in YYYY-MM-DD format. |
begin_date | string <date> (DATE_VALID) Example: begin_date=2012-04-23 A valid date in YYYY-MM-DD format. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
title | any Enum: "invoice" "payment" |
invoice_id | integer (RELATION_ID) ^[1-9]\d*\z Example: invoice_id=54321 A valid id number (a positive integer). |
required | object |
{- "params": {
- "accnt": 0,
- "begin_date": "2012-04-23",
- "end_date": "2012-04-23",
- "invoice_id": 54321,
- "page_num": 80,
- "page_size": 80,
- "title": "invoice"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "balance": "string",
- "created_on": "string",
- "display_amount": "string",
- "id": 54321,
- "remaining": "string",
- "title": "invoice",
- "type": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Place an order for services creating a new account.
country | string (COUNTRY_CODE_SPECIFIC) A valid ISO country code. |
lname | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
cjsid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
Array of objects | |
quoteName | string (LAXWORD) ^[\w-]*\z A single word, consisting of only letters, digits, hyphens, and underscores. |
zip | string (POSTAL_CODE) ^(?i)[a-z0-9.,#'/ -]{2,40}\z A valid postal code. |
tax_exempt_reason | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
traits | Array of strings (ARRAY) An array of arbitrary values. |
paymentMethod | string (WORD_) ^\w+\z A single word, consisting of only letters, digits, and underscores. |
opportunity_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
paymentInterval | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
phone | string (PHONE_GENERIC) ^(?i)[0-9extnsio.,()+ -]{2,25}\z A valid phone number. |
referredByType | string (STRING) ^.+\z A string. |
phone_code | integer (NON_NEG_INT) ^\d+\z Example: phone_code=12345 A non-negative integer value (i.e. 0 and up). |
tax_exempt | boolean (BOOLEAN) A boolean value (0 or 1). |
customer_uuid | string <uuid> (UUID) ^[[:xdigit:]]{8}-([[:xdigit:]]{4}-){3}[[:xdig... Example: customer_uuid=f81d4fae-7dec-11d0-a765-00a0c91e6bf6 A valid UUID (Universally Unique IDentifier). |
tax_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
fname | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
sid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
password | string (GENERIC_PASSWORD_BILLING_LENGTH) ^[^[:cntrl:]\t\r\n]{6,30}\z A password of at least 6 characters and up to 30 characters in length, may contain spaces |
tax_exempt_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
string <email> (EMAIL_ADDR) Example: email=user@example.com A valid email address. | |
userComments | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
address | string (STREET_ADDRESS) ^(?i)[\P{IsC}]{2,150}\z A valid street address, up to 150 characters in length. |
fax | string (PHONE_GENERIC) ^(?i)[0-9extnsio.,()+ -]{2,25}\z A valid phone number. |
city | string (CITY) ^(?i)[\P{IsC}]{2,80}\z A valid city name. |
referredBy | string (STRING) ^.+\z A string. |
is_shared_order | boolean (BOOLEAN) A boolean value (0 or 1). |
passwordVerify | string (GENERIC_PASSWORD_BILLING_LENGTH) ^[^[:cntrl:]\t\r\n]{6,30}\z A password of at least 6 characters and up to 30 characters in length, may contain spaces |
company | string (ORGNAME) ^(?i)[\P{IsC}]{2,100}\z A valid company name, up to 100 characters in length. |
cjaid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
address2 | string (STREET_ADDRESS) ^(?i)[\P{IsC}]{2,150}\z A valid street address, up to 150 characters in length. |
phone_check | integer (POSITIVE_INT) ^[1-9]\d*\z Example: phone_check=80 A positive integer value (i.e. 1 and up). |
coupon | string (COUPON_CODE) ^[a-zA-Z0-9_-]{6,40}\z A 6 to 40 character coupon code |
validated | boolean (BOOLEAN) A boolean value (0 or 1). |
cart | object (HASH) Example: An associative array of arbitrary keys and values. |
cardCode | integer (CVV2) ^\d{3,4}\z The cvv code of a credit card, consisting of a number at least 3 digits and up to 4 digits in length (i.e. 1234, 010, etc). |
is_san_order | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "address": "string",
- "address2": "string",
- "attribution": [
- {
- "source": "string",
- "source_data": { }
}
], - "cardCode": 0,
- "cart": { },
- "city": "string",
- "cjaid": "string",
- "cjsid": "string",
- "company": "string",
- "country": "string",
- "coupon": "string",
- "customer_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
- "domain": "example.com",
- "email": "user@example.com",
- "fax": "string",
- "fname": "string",
- "is_san_order": true,
- "is_shared_order": true,
- "lname": "string",
- "opportunity_id": "string",
- "password": "string",
- "passwordVerify": "string",
- "paymentInterval": "string",
- "paymentMethod": "string",
- "phone": "string",
- "phone_check": 80,
- "phone_code": 12345,
- "quoteName": "string",
- "referredBy": "string",
- "referredByType": "string",
- "sid": "string",
- "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "traits": [
- "string"
], - "userComments": "string",
- "username": "string",
- "validated": true,
- "zip": "string"
}
}
{- "accnt": 0,
- "order_id": 80,
- "order_type": "string",
- "pending_configs": 12345,
- "support_passphrase": "string"
}
Place an order for services adding services to an existing account.
coupon | string (COUPON_CODE) ^[a-zA-Z0-9_-]{6,40}\z A 6 to 40 character coupon code |
cjaid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
is_san_order | boolean (BOOLEAN) A boolean value (0 or 1). |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
sid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
cardCode | integer (CVV2) ^\d{3,4}\z The cvv code of a credit card, consisting of a number at least 3 digits and up to 4 digits in length (i.e. 1234, 010, etc). |
cart | object (HASH) Example: An associative array of arbitrary keys and values. |
referredByType | string (STRING) ^.+\z A string. |
customer_uuid | string <uuid> (UUID) ^[[:xdigit:]]{8}-([[:xdigit:]]{4}-){3}[[:xdig... Example: customer_uuid=f81d4fae-7dec-11d0-a765-00a0c91e6bf6 A valid UUID (Universally Unique IDentifier). |
is_shared_order | boolean (BOOLEAN) A boolean value (0 or 1). |
referredBy | string (STRING) ^.+\z A string. |
traits | Array of strings (ARRAY) An array of arbitrary values. |
paymentMethod | string (WORD_) ^\w+\z A single word, consisting of only letters, digits, and underscores. |
opportunity_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
Array of objects | |
quoteName | string (LAXWORD) ^[\w-]*\z A single word, consisting of only letters, digits, hyphens, and underscores. |
cjsid | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
userComments | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "attribution": [
- {
- "source": "string",
- "source_data": { }
}
], - "cardCode": 0,
- "cart": { },
- "cjaid": "string",
- "cjsid": "string",
- "coupon": "string",
- "customer_uuid": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
- "domain": "example.com",
- "is_san_order": true,
- "is_shared_order": true,
- "opportunity_id": "string",
- "paymentMethod": "string",
- "quoteName": "string",
- "referredBy": "string",
- "referredByType": "string",
- "sid": "string",
- "traits": [
- "string"
], - "userComments": "string"
}
}
{- "accnt": 0,
- "order_id": 80,
- "order_type": "string",
- "pending_configs": 12345,
- "support_passphrase": "string"
}
metadata | object (HASH) Example: An associative array of arbitrary keys and values. |
hash | string (ONETIME_LINK_HASH) ^(?:[a-zA-Z0-9_-]{27}|[a-zA-Z0-9_-]{86})\z A 27 or 86 character code for a single-use URI |
required | object |
{- "params": {
- "hash": "string",
- "metadata": { }
}
}
{- "received": true
}
This method will expire an existing token immediately instead of waiting for it to expire on its own. This is useful if you want to forcibly stop the use of a token for security reasons.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "expired": true
}
This method allows the caller to generate a JWT to access a specific service.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "jwt": "string"
}
Authentication tokens are short-term alternative credentials for an account. Once a user logs in with their password, you should use that password to generate an authentication token, which can be cached by your application. The authentication tokens time out after a specified period of inactivity (defaults to 15 minutes, maximum time is 1 hour).
Tokens can be kept alive by calling this method again before the token expires, up to a maximum of 12 hours. After 12 hours, the token will be expired permanently and a new token will need to be retrieved using the original password for your user.
Examples:
A token can be used to provide better password security, while still allowing an application to store credentials temporarily to avoid repeated logins.
This allows you to avoid the insecurity of storing their password in their session. And since the token is only good for a limited amount of time, the potential security threat is minimized.
timeout | integer (POSITIVE_INT) ^[1-9]\d*\z Example: timeout=80 A positive integer value (i.e. 1 and up). |
login_context | object (HASH) Example: An associative array of arbitrary keys and values. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "login_context": { },
- "timeout": 80
}
}
{- "expires": 1697062935,
- "token": "string"
}
This method will check and ensure that a given JSON WebToken is valid. Once a JWT's validation is checked it will not be valid again. This method will only be accessible to NonAccountUsers and will be a way to authenticate users.
signed_for | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
jwt | string (JWT) ^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.[a-zA-Z0... A JSON Web Token. |
required | object |
{- "params": {
- "jwt": "string",
- "signed_for": "string"
}
}
{- "agent": "string",
- "agent_signature": "string",
- "claims": { },
- "expires": 1697062935,
- "token": "string",
- "username": "string"
}
This section contains methods for setting up, enabling, and disabling two-factor authentication (TFA).
If two-factor authentication (TFA) is not already enabled: Creates a new TFA activation key, applies it to the user, and returns it.
If TFA is already enabled: An exception will be thrown. To generate a fresh key, disable TFA and then call this method.
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "username": "string"
}
}
{- "key": "string"
}
passcode | integer (TWOFACTOR_PASSCODE) ^\d{6}\z Example: passcode=123456 A six digit TFA passcode |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "accnt": 0,
- "passcode": 123456,
- "username": "string"
}
}
{- "disabled": true
}
passcode | integer (TWOFACTOR_PASSCODE) ^\d{6}\z Example: passcode=123456 A six digit TFA passcode |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "accnt": 0,
- "passcode": 123456,
- "username": "string"
}
}
{- "enabled": true
}
This section contains methods to interact with a billing-specific address for an account.
Remove the billing-specific address for an account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "separate_billing_address": true,
- "state": "string"
}
This method will return an address for the account: the billing-specific address if it exists, the default address otherwise.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "separate_billing_address": true,
- "state": "string"
}
Add or update a billing-specific address for an account.
address | string (STREET_ADDRESS) ^(?i)[\P{IsC}]{2,150}\z A valid street address, up to 150 characters in length. |
city | string (CITY) ^(?i)[\P{IsC}]{2,80}\z A valid city name. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
address2 | string (STREET_ADDRESS) ^(?i)[\P{IsC}]{2,150}\z A valid street address, up to 150 characters in length. |
postal_code | string (POSTAL_CODE) ^(?i)[a-z0-9.,#'/ -]{2,40}\z A valid postal code. |
country | string (COUNTRY) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid country. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
required | object |
{- "params": {
- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "state": "string"
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "country": "string",
- "postal_code": "string",
- "separate_billing_address": true,
- "state": "string"
}
This section contains methods to update and use an account users support (previously chat) password.
The support password is a phrase that can be used to authenticate with
a support technician. It is not considered as sensitive as the account
password.
Updates the Support Passphrase for the account associated with the given hash.
passphrase | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
hash | string (ONETIME_LINK_HASH) ^(?:[a-zA-Z0-9_-]{27}|[a-zA-Z0-9_-]{86})\z A 27 or 86 character code for a single-use URI |
required | object |
{- "params": {
- "hash": "string",
- "passphrase": "string"
}
}
{- "ok": true
}
Returns the support password for the current account and user, if any.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "password": "string"
}
Sets the support password for the current account and user. The support password can be deleted by setting the password field on this method to an empty string.
password | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "password": "string"
}
}
{- "password": "string"
}
Returns whether or not the requested link is valid.
hash | string (ONETIME_LINK_HASH) ^(?:[a-zA-Z0-9_-]{27}|[a-zA-Z0-9_-]{86})\z A 27 or 86 character code for a single-use URI |
required | object |
{- "params": {
- "hash": "string"
}
}
{- "ok": true
}
Returns the contact information for the logged in account. Some fields may come back as null, if no value was entered for them.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "accnt": 0,
- "address": "string",
- "cc": "user@example.com",
- "city": "string",
- "company": "string",
- "country": "string",
- "email": [
- "user@example.com"
], - "fax": "555-555-5555",
- "fname": "string",
- "lname": "string",
- "mname": "string",
- "phone": "string",
- "state": "string",
- "tax_id": "string",
- "zip_code": "string"
}
Updates the contact information for the logged in account.
If you need to transfer ownership of the account to another party or correct the spelling of your name, please call us at 1-877-330-7660.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
address | string (STREET_ADDRESS) ^(?i)[\P{IsC}]{2,150}\z A valid street address, up to 150 characters in length. |
company | string (ORGNAME) ^(?i)[\P{IsC}]{2,100}\z A valid company name, up to 100 characters in length. |
EMAIL_ADDR (string) or Array of EMAIL_ADDR_LIST (strings) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [EMAIL_ADDR] or [EMAIL_ADDR_LIST] or [ARRAY[EMAIL_ADDR]]. | |
country | string (COUNTRY_OR_CODE_SPECIFIC) A valid ISO country code or name. |
lname | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
phone | string (PHONE_GENERIC) ^(?i)[0-9extnsio.,()+ -]{2,25}\z A valid phone number. |
EMAIL_ADDR (string) or Array of MULTI_TYPE (strings) or Array of EMAIL_ADDR_LIST (strings) (MULTI_TYPE) One of [EMAIL_ADDR] or [ARRAY[EMAIL_ADDR]] or [EMAIL_ADDR_LIST]. | |
fax | string (FAX_GENERIC) ^(?i)[0-9extnsio.,()+ -]{2,25}\z Example: fax=555-555-5555 A valid fax number. |
city | string (CITY) ^(?i)[\P{IsC}]{2,80}\z A valid city name. |
mname | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
tax_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
fname | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
zip_code | string (POSTAL_CODE) ^(?i)[a-z0-9.,#'/ -]{2,40}\z A valid postal code. |
required | object |
{- "params": {
- "accnt": 0,
- "address": "string",
- "cc": "user@example.com",
- "city": "string",
- "company": "string",
- "country": "string",
- "email": "user@example.com",
- "fax": "555-555-5555",
- "fname": "string",
- "lname": "string",
- "mname": "string",
- "phone": "string",
- "state": "string",
- "tax_id": "string",
- "zip_code": "string"
}
}
{- "accnt": 0,
- "address": "string",
- "cc": [
- "user@example.com"
], - "city": "string",
- "company": "string",
- "country": "string",
- "email": [
- "user@example.com"
], - "fax": "555-555-5555",
- "fname": "string",
- "lname": "string",
- "mname": "string",
- "phone": "string",
- "state": "string",
- "tax_id": "string",
- "zip_code": "string"
}
Returns the (masked) credit card number and credit card expiration month for the current account, if any.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "credit_card_exp": "string",
- "credit_card_num": "string"
}
Returns all defined billing cycles for an account along with relevant dates.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
object |
required | object |
{- "params": {
- "accnt": 0,
- "order_by": {
- "field": "name",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "cycle": "string",
- "last_date": "string",
- "next_date": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Returns the minimum allowed configuration setting for a dynamic child instance residing on a private parent. These values are dependent upon the management level of the desired template, and the guest operating system chosen.
If your circumstances require variations on these minimums, please call us at 1-877-330-7660
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
childType | any Enum: "Managed" "Unmanaged" "Windows" |
property | any Enum: "Memory" "Disk" "Cpu" |
required | object |
{- "params": {
- "accnt": 0,
- "childType": "Managed",
- "property": "Memory"
}
}
{- "Managed": {
- "Cpu": 80,
- "Disk": 80,
- "Memory": 80
}, - "Unmanaged": {
- "Cpu": 80,
- "Disk": 80,
- "Memory": 80
}, - "Windows": {
- "Cpu": 80,
- "Disk": 80,
- "Memory": 80
}
}
Returns the maximum number of IPs your account may have per server.
If you require additional IPs per server on your account please call us at 1-877-330-7660
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "limit": 80,
- "limit_ipv6": 80,
- "nocworx_openstack_limit": 80
}
Returns the maximum number of IPs your account may have per IP Pool.
If you require additional IPs per IP Pool on your account please call us at 1-877-330-7660
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "limit": 80
}
Returns the maximum number of Storm servers the currently logged-in account is allowed to have.
If you require additional servers on your account please call us at 1-877-330-7660
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "limit": 80,
- "used": 12345
}
This section contains methods to fetch and update an account's payment information.
NOTE: DEPRECATED. The methods here are more billing related than
account related and have been moved to the billing section =cut
our @FIELDS = qw(accnt cycle payment_method credit_card_num
credit_card_exp card_code);
When you destroy servers or turn off optional features, money is added to your balance to either pay for new servers or cover part of your next bill. This method allows you to determine how much balance you have available.
A second field, due, is the amount of charges in your account that have not yet been reconciled. Usually charges are reconciled on your billing date.
NOTE DEPRECATED. Moved to billing.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "available": "string",
- "balance": "string",
- "credit": "string",
- "cycle": "string",
- "cycles": [
- "string"
], - "due": "string",
- "last_payment_date": "2012-04-23",
- "next_bill_date": "2012-04-23",
- "next_dates": [
- {
- "cycle": "string",
- "next_date": "2012-04-23"
}
], - "overdue": "string",
- "payment_method": "string"
}
Returns the current payment configuration for the logged in account.
Only the last 4 digits of the credit card number are returned, for obvious security reasons.
NOTE DEPRECATED. Moved to billing.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "accnt": 0,
- "credit_card_exp": "string",
- "credit_card_num": "string",
- "cycle": "string",
- "payment_method": "string"
}
Returns settings for the logged in account.
not_new = The welcome screen has been displayed.
hide_social = Hide social media buttons.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "hide_social": true,
- "not_new": true
}
Check if an account has the specified trait.
trait | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "trait": "string"
}
}
{- "has_trait": true
}
Updates the current settings for the logged in account.
not_new = The welcome screen has been displayed.
hide_social = Hide social media buttons.
hide_social | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
new_account | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "hide_social": true,
- "new_account": true
}
}
{- "hide_social": true,
- "not_new": true
}
Returns the current subscription settings for the logged in account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "newsletter": true,
- "promotions": true
}
Updates the current subscription settings for the logged in account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
promotions | boolean (BOOLEAN) A boolean value (0 or 1). |
newsletter | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "newsletter": true,
- "promotions": true
}
}
{- "newsletter": true,
- "promotions": true
}
This section contains methods to manage the various users an account contains. This includes both StormOnDemand.com users and api users.
This method can be used to determine whether a username is currently available.
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "username": "string"
}
}
{- "available": true
}
Creates a new user with the role designated. This user will immediately be able to login and access the functions appropriate to their role.
firstname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
string <email> (EMAIL_ADDR) Example: email=user@example.com A valid email address. | |
lastname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
roles | Array of strings (PERMISSIONS_ROLE) |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
password | string (GENERIC_PASSWORD_LENGTH) ^[^[:cntrl:]\t\r\n]{6,100}\z A password of at least 6 characters and up to 100 characters in length, may contain spaces |
required | object |
{- "params": {
- "accnt": 0,
- "email": "user@example.com",
- "firstname": "string",
- "lastname": "string",
- "password": "string",
- "roles": [
- "string"
], - "username": "string"
}
}
{- "active": true,
- "email": "user@example.com",
- "federation_id": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "roles": [
- "string"
], - "suspended": true,
- "tfa_enabled": true,
- "username": "string"
}
Get information about a specific user on this account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "accnt": 0,
- "username": "string"
}
}
{- "active": true,
- "email": "user@example.com",
- "federation_id": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "roles": [
- "string"
], - "suspended": true,
- "tfa_enabled": true,
- "username": "string"
}
Get a list of the current users for this account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
active | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "active": true,
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "active": true,
- "email": "user@example.com",
- "federation_id": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "roles": [
- "string"
], - "suspended": true,
- "tfa_enabled": true,
- "username": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Gets a list of available roles.
params required | object |
{- "params": { }
}
{- "roles": [
- "string"
]
}
Updates an existing user.
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
roles | Array of strings (PERMISSIONS_ROLE) |
existing_user | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
password | string (GENERIC_PASSWORD_LENGTH) ^[^[:cntrl:]\t\r\n]{6,100}\z A password of at least 6 characters and up to 100 characters in length, may contain spaces |
firstname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
active | boolean (BOOLEAN) A boolean value (0 or 1). |
lastname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
string <email> (EMAIL_ADDR) Example: email=user@example.com A valid email address. |
required | object |
{- "params": {
- "accnt": 0,
- "active": true,
- "email": "user@example.com",
- "existing_user": "string",
- "firstname": "string",
- "lastname": "string",
- "password": "string",
- "roles": [
- "string"
], - "username": "string"
}
}
{- "active": true,
- "email": "user@example.com",
- "federation_id": "string",
- "firstname": "string",
- "lastname": "string",
- "name": "string",
- "roles": [
- "string"
], - "suspended": true,
- "tfa_enabled": true,
- "username": "string"
}
This section of the API handles basic operations (list, details) on assets associated with an account. An asset is a product or service associated with an account, such as a server, a DNS zone, a domain name or an SSL certificate, to list a few.
These methods are used for gathering information about what assets a
given account has. Methods for manipulating or gathering further
information about an asset can be found in different API namespaces.
no_groups | boolean (BOOLEAN) Some operations can be made faster by not requesting the group data |
relationship_types | Array of strings (WORD_) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "no_groups": true,
- "relationship_types": [
- "string"
], - "uniq_id": "string"
}
}
{- "details": { },
- "groups": { },
- "rows": [
- { }
]
}
This method can be used to gather information about a single account asset.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
alsowith | Array of any Items Enum: "acronisBackingUp" "ancestorServer" "backupsAndStorage" "businessEmailPricing" "capabilities" "categories" "children" "creation_date" "description" "diskDetails" "distro" "emailFriendlyName" "featureDetails" "finalizeDetails" "hostedEmailPricing" "hostedEmailUsage" "hostingDetails" "instance" "loadbalancer" "managedType" "mesDetails" "monitorableServices" "mrc" "networkSummary" "nocworxRemoteDetails" "nocworxServiceDetails" "objectStore" "osFamily" "parentDetails" "powerStatus" "price" "primaryProductCategory" "privateParent" "product" "productDisplayGroup" "project" "prometheusDetails" "publicProductCategory" "resourceState" "servers" "shortDescription" "usageDetails" "zone" |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "acronisBackingUp"
], - "uniq_id": "string"
}
}
{- "active": true,
- "domain": "string",
- "ip": "172.0.0.1",
- "project_id": 80,
- "project_name": "string",
- "region_id": 80,
- "status": "New",
- "type": "string",
- "uniq_id": "string",
- "username": "string"
}
Get a list of servers, services, and devices on your account.
Valid options for category include:
Dedicated -- This includes dedicated and virtual servers as well as special dedicated items VirtualDedicated -- Legacy vps and provisioned servers StrictDedicated -- Dedicated servers SpecialDedicated -- This list includes network devices and load balancers Provisioned -- Products which are subject to automated provisioning, such as Storm LoadBalancer -- A hardware or software load balancer ObjectStorage -- An object storage account. SBS -- Products backed by our Storm Block Storage technology
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
alsowith | Array of any Items Enum: "acronisBackingUp" "ancestorServer" "backupsAndStorage" "businessEmailPricing" "capabilities" "categories" "children" "creation_date" "description" "diskDetails" "distro" "emailFriendlyName" "featureDetails" "finalizeDetails" "hostedEmailPricing" "hostedEmailUsage" "hostingDetails" "instance" "loadbalancer" "managedType" "mesDetails" "monitorableServices" "mrc" "networkSummary" "nocworxRemoteDetails" "nocworxServiceDetails" "objectStore" "osFamily" "parentDetails" "powerStatus" "price" "primaryProductCategory" "privateParent" "product" "productDisplayGroup" "project" "prometheusDetails" "publicProductCategory" "resourceState" "servers" "shortDescription" "usageDetails" "zone" |
status | string (SUBACCNT_STATUS) A valid subaccnt status (New, Active, BucketPart, Disabled, Terminated, Pending-Termination, Pending-Activation, Pending-Payment, Pending-Config). |
category | Array of strings (WORD) |
public_category | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
capability | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
exclude_category | Array of strings (WORD) |
domain_match | boolean (BOOLEAN) Find all assets via partial domain match rather than exact match |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
domain | string (MULTI_TYPE) One of [DOMAIN_FRAGMENT] or [DOMAIN_FULL]. |
uniq_id | Array of strings (SUBACCNT_UNIQ_ID) |
project_name | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
ACCOUNT_TYPE (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [ACCOUNT_TYPE] or [ARRAY[ACCOUNT_TYPE]]. | |
object |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "acronisBackingUp"
], - "capability": "string",
- "category": [
- "string"
], - "domain": "string",
- "domain_match": true,
- "exclude_category": [
- "string"
], - "order_by": {
- "field": "domain",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80,
- "project_name": "string",
- "public_category": "string",
- "status": "string",
- "type": "string",
- "uniq_id": [
- "string"
]
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "active": true,
- "domain": "string",
- "ip": "172.0.0.1",
- "project_id": 80,
- "project_name": "string",
- "region_id": 80,
- "status": "New",
- "type": "string",
- "uniq_id": "string",
- "username": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Request removal of this asset.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
rating | any Enum: 0 5 10 Rating of customer's experience with Liquid Web. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
cancellation_reason | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
cancellation_comment | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
cleanup_assets | boolean (BOOLEAN) If this is the last subaccount on the account that is not an SSL, Domain Registration or DNS Zone, disable auto-renew on all Domain Registrations and SSL certificates and remove all remaining DNS zones. |
required | object |
{- "params": {
- "accnt": 0,
- "cancellation_comment": "string",
- "cancellation_reason": "string",
- "cleanup_assets": true,
- "rating": 0,
- "uniq_id": "string"
}
}
{- "removal_requested": "string"
}
Launch a PCI scan for a PCI service subaccnt. Results will be sent as PDF attachments to a Salesforce ticket.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "scan_started": true
}
Change the details of a subaccnt.
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
features | object (HASH) Example: An associative array of arbitrary keys and values. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "features": { },
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
Returns available measurements and their fields of which to pull measurement data.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "available": { }
}
Returns current measurements for all available measurements.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "current": { }
}
Lookup measurements for given fields and duration of a subaccnt. Return all measurement points as per lookup arguments.
function | any Default: "MEAN" Enum: "LAST" "FIRST" "MEAN" "MODE" "SUM" "MAX" "MIN" |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
duration | any Enum: "2week" "month" "3month" "3day" "12hour" "6hour" "day" |
object | |
fields | Array of strings (WORD_) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
name | string (WORD_) ^\w+\z A single word, consisting of only letters, digits, and underscores. |
difference | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "difference": true,
- "duration": "2week",
- "fields": [
- "string"
], - "function": "LAST",
- "name": "string",
- "tag": {
- "name": "string",
- "value": "string"
}, - "uniq_id": "string"
}
}
{- "data": [
- "string"
]
}
This section of the API allows for remotely querying service status data, service monitoring configuration details, setting the monitoring configuration for a server, as well as converting an asset or account between different monitoring backends.
Declares the state of the monitoring settings for a given subaccount. if the settings record doesn't exists, it will be created.
enabled | boolean (BOOL) A boolean value (0 or 1). |
Array of objects | |
subaccnt | string (UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "enabled": true,
- "services": [
- {
- "enabled": true,
- "name": "string"
}
], - "subaccnt": "string"
}
}
{- "enabled": true,
- "ip": "string",
- "labels": { },
- "server_pair": "string",
- "services": [
- {
- "extra_tags": { },
- "name": "string",
- "port": 12345,
- "type": "machine"
}
], - "subaccnt": "string"
}
Returns monitoring details for a requested subaccount.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
subaccnt | string (UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": "string"
}
}
{- "enabled": true,
- "ip": "string",
- "labels": { },
- "server_pair": "string",
- "services": [
- {
- "extra_tags": { },
- "name": "string",
- "port": 12345,
- "type": "machine"
}
], - "subaccnt": "string"
}
Returns a list of all monitoring details for a given search.
subaccnt | string (UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
enabled | boolean (BOOLEAN) Default: 1 A boolean value (0 or 1). |
server_pair | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
(Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- [
- "string"
]
], - "enabled": 1,
- "page_num": 80,
- "page_size": 80,
- "server_pair": "string",
- "subaccnt": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "enabled": true,
- "ip": "string",
- "labels": { },
- "server_pair": "string",
- "services": [
- {
- "extra_tags": { },
- "name": "string",
- "port": 12345,
- "type": "machine"
}
], - "subaccnt": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
returns the current monitoring status of the given monitored services.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
subaccnt | string (UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": "string"
}
}
{- "DYNAMIC[LINE]": { }
}
A bill is collection of invoices that a customer owes at the time the bill was generated.
***** NOTE *****
These methods have been moved here from billing->invoice
In order to help clear up confusion, we have made an effort to
separate bills and invoices. Originally, to try and make things
simpler, we attempted to make bills and invoices appear more like
one thing. This, unfortunately, did not work as well as intended.
In making things more transparent, the API methods involving Bills
and Invoices have been refined.
Returns data specific to one bill. In addition to what is returned in the list method, additional details about the specific lineitems are included.
WORD_ (string) or (Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "id": 80
}
}
{- "accnt": 0,
- "bill_date": "2012-04-23",
- "due": "string",
- "end_date": "2012-04-23",
- "id": 54321,
- "invoices": [
- {
- "accnt": 0,
- "amounts": {
- "applied": "string",
- "due": "string",
- "paid": "string",
- "pretax_total": "string",
- "total": "string",
- "total_discount": "string",
- "total_tax": "string"
}, - "billed_date": "2012-04-23",
- "dependency_status": "string",
- "due_date": "2012-04-23",
- "generated_date": "string",
- "id": 54321,
- "id_display": "string",
- "is_past_due": true,
- "lineitem_groups": [
- {
- "account": 0,
- "description": "string",
- "group_description": "string",
- "group_id": 54321,
- "invoice_id": 54321,
- "line_items": [
- {
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "charged_amount": "string",
- "end_date": "2012-04-23",
- "group_id": 80,
- "has_adjustments": true,
- "history": [
- {
- "adjustment_by": "string",
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "adjustment_for_line_item": 80,
- "aggregation_key": "string",
- "billable_unit_features_id": 54321,
- "charged_amount": "string",
- "comments": "string",
- "dependency_type": "string",
- "display_order": 12345,
- "end_date": "2012-04-23",
- "group_id": 54321,
- "has_adjustments": true,
- "has_adjustments_amount": "string",
- "has_adjustments_invoice_id": 54321,
- "has_adjustments_mechanism": "string",
- "id": 54321,
- "is_adjustment": true,
- "is_recurring": true,
- "item_description": "string",
- "parent_feature_id": 80,
- "parent_line_item_id": 54321,
- "post_tax_amount": "string",
- "quantity": 12345,
- "start_date": "2012-04-23",
- "subaccnt_base_product_id": 54321,
- "tax": "string",
- "taxable": true
}
], - "id": 80,
- "is_adjustment": true,
- "item_description": "string",
- "quantity": 12345,
- "start_date": "2012-04-23"
}
], - "subtotal": "string"
}
], - "payment_status": "string",
- "payments": [
- {
- "amount_paid": "string",
- "bill_id": 54321,
- "id": 54321,
- "invoice_id": 54321,
- "received_date": "2012-04-23"
}
], - "reason": "string",
- "revision": 12345,
- "serv_end_date": "2012-04-23",
- "serv_start_date": "2012-04-23"
}
], - "payments": [
- {
- "account": "string",
- "amount": "string",
- "paid_date": "2012-04-23",
- "type": "string"
}
], - "start_date": "2012-04-23",
- "status": "string",
- "total": "string",
- "type": "string"
}
Returns a list of all the bills for the logged in account. Bills are created at your regular billing date, but are also created for one-off items like creating or cloning a server.
WORD_ (string) or (Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "bill_date": "2012-04-23",
- "due": "string",
- "end_date": "2012-04-23",
- "id": 80,
- "start_date": "2012-04-23",
- "status": "string",
- "total": "string",
- "type": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Provides details of a given account credit
WORD_ (string) or (Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "id": 80
}
}
{- "accnt": 0,
- "balance": "string",
- "comments": "string",
- "created_date": "string",
- "id": 54321,
- "original_amount": "string",
- "reason": "string",
- "transactions": [
- {
- "act": "string",
- "amount": "string",
- "created_date": "string",
- "discount_credit_id": 54321,
- "id": 54321,
- "invoice_id": 54321
}
], - "valid_after": "string",
- "valid_until": "string"
}
List credits on the account
object | |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "order_by": {
- "field": "id",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "balance": "string",
- "comments": "string",
- "created_date": "string",
- "id": 54321,
- "original_amount": "string",
- "reason": "string",
- "transactions": [
- {
- "act": "string",
- "amount": "string",
- "created_date": "string",
- "discount_credit_id": 54321,
- "id": 54321,
- "invoice_id": 54321
}
], - "valid_after": "string",
- "valid_until": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Returns all possible billing cycles and their length, in months.
object | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "order_by": {
- "field": "name",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "items": [
- {
- "months": 80,
- "name": "string"
}
]
}
An invoice is a record of specific charges owed by the customer for a set of services. A bill is a point of communication with a customer. When Liquid Web bills a customer, it gathers any outstanding invoices, generates any new invoices if needed and sends them to the customer.
There are three ways an invoice could be generated:
* 1.
Any time a service is added or removed from an account an invoice is
generated.
* 2.
During the normal billing time for an account, an invoice is
generated for the upcoming month.
* 3.
For certain services where it is impossible to know how much to
charge until we know the usage for the service, we charge for the
previous month's usage. If an account has charges for any of those
services (backups, bandwidth overages, etc), an additional invoice
will be generated for those services *only*.
***** NOTE *****
Bills related methods have been moved to billing->bill
In order to help clear up confusion, we have made an effort to
separate bills and invoices. Originally, to try and make things
simpler, we attempted to make bills and invoices appear more like
one thing. This, unfortunately, did not work as well as intended.
In making things more transparent, the API methods involving Bills
and Invoices have been refined. In order to maintain backwards
compatibility, the version 1 (v1) methods will continue to refer to
bills rather than invoices. *Moving forward, including the bleed
version, the methods will be referring solely to invoices.* This
means that a list method called as v1 will return different data
than the bleed version.
Exceptions to this rule: Any method that only existed as a bleed
method prior to the separation of bills and invoices. These methods
have been completely moved to billing->bill and are no longer
available under billing->invoice.
preview | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "preview": true
}
}
{- "accnt": 0,
- "allocated_payments": [
- { }
], - "amounts": {
- "applied": "string",
- "due": "string",
- "paid": "string",
- "pretax_total": "string",
- "total": "string",
- "total_discount": "string",
- "total_tax": "string"
}, - "billed_date": "2012-04-23",
- "dependency_status": "string",
- "due_date": "2012-04-23",
- "exchange_currency": "string",
- "exchange_rate": "string",
- "generated_date": "string",
- "id": 54321,
- "id_display": "string",
- "is_past_due": true,
- "lineitem_groups": [
- {
- "account": 0,
- "account_level": true,
- "description": "string",
- "group_description": "string",
- "group_id": 54321,
- "invoice_id": 54321,
- "line_items": [
- {
- "adjustment_by": "string",
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "adjustment_for_line_item": 80,
- "aggregation_key": "string",
- "billable_unit_features_id": 54321,
- "charged_amount": "string",
- "comments": "string",
- "dependency_type": "string",
- "display_order": 12345,
- "end_date": "2012-04-23",
- "group_id": 80,
- "has_adjustments": true,
- "has_adjustments_amount": "string",
- "has_adjustments_invoice_id": 54321,
- "has_adjustments_mechanism": "string",
- "history": [
- {
- "adjustment_by": "string",
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "adjustment_for_line_item": 80,
- "aggregation_key": "string",
- "billable_unit_features_id": 54321,
- "charged_amount": "string",
- "comments": "string",
- "dependency_type": "string",
- "display_order": 12345,
- "end_date": "2012-04-23",
- "group_id": 54321,
- "has_adjustments": true,
- "has_adjustments_amount": "string",
- "has_adjustments_invoice_id": 54321,
- "has_adjustments_mechanism": "string",
- "id": 54321,
- "is_adjustment": true,
- "is_recurring": true,
- "item_description": "string",
- "parent_feature_id": 80,
- "parent_line_item_id": 54321,
- "post_tax_amount": "string",
- "quantity": 12345,
- "start_date": "2012-04-23",
- "subaccnt_base_product_id": 54321,
- "tax": "string",
- "taxable": true
}
], - "id": 80,
- "is_adjustment": true,
- "is_recurring": true,
- "item_description": "string",
- "parent_feature_id": 80,
- "parent_line_item_id": 54321,
- "post_tax_amount": "string",
- "quantity": 12345,
- "start_date": "2012-04-23",
- "subaccnt_base_product_id": 54321,
- "tax": "string",
- "taxable": true
}
], - "owner_rel_id": 54321,
- "post_tax_total": "string",
- "subtotal": "string",
- "total_tax": "string",
- "uniq_id": "string"
}
], - "local_jurisdiction_id": 54321,
- "local_tax_converted": "string",
- "payment_status": "string",
- "payments": [
- {
- "amount_paid": "string",
- "bill_id": 54321,
- "id": 54321,
- "invoice_id": 54321,
- "received_date": "2012-04-23"
}
], - "reason": "string",
- "reason_display": "string",
- "revision": 12345,
- "serv_end_date": "2012-04-23",
- "serv_start_date": "2012-04-23",
- "tax_rate": 1.25
}
v1
Deprecated. This method has been moved to billing->bill->list
Returns a list of all the bills for the logged in account. Bills are
created at your regular billing date, but are also created for one-off
items like creating or cloning a server.
bleed
Returns a list of all the invoices for the logged in account.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
with_previews | boolean (BOOLEAN) Default: 1 Include invoice previews, if they exist. |
only_statuses | Array of strings (LAXWORDS) Allows a user to limit the list of invoices returned based on the status of the invoice. Statuses include: unpaid, partially-paid and paid. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
bill_id | integer (RELATION_ID) ^[1-9]\d*\z Example: bill_id=54321 Pass in a specific bill id to retrieve a list of invoices only associated with the requested bill. |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) Available options: payments, line_items. If needed, you can request that either payments, line_items, or both can be returned when calling list. They are automatically returned when using the details method. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "bill_id": 54321,
- "only_statuses": [
- "string"
], - "page_num": 80,
- "page_size": 80,
- "with_previews": 1
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "allocated_payments": [
- { }
], - "amounts": {
- "applied": "string",
- "due": "string",
- "paid": "string",
- "pretax_total": "string",
- "total": "string",
- "total_discount": "string",
- "total_tax": "string"
}, - "billed_date": "2012-04-23",
- "dependency_status": "string",
- "due_date": "2012-04-23",
- "exchange_currency": "string",
- "exchange_rate": "string",
- "generated_date": "string",
- "id": 54321,
- "id_display": "string",
- "is_past_due": true,
- "lineitem_groups": [
- {
- "account": 0,
- "account_level": true,
- "description": "string",
- "group_description": "string",
- "group_id": 54321,
- "invoice_id": 54321,
- "line_items": [
- {
- "adjustment_by": "string",
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "adjustment_for_line_item": 80,
- "aggregation_key": "string",
- "billable_unit_features_id": 54321,
- "charged_amount": "string",
- "comments": "string",
- "dependency_type": "string",
- "display_order": 12345,
- "end_date": "2012-04-23",
- "group_id": 80,
- "has_adjustments": true,
- "has_adjustments_amount": "string",
- "has_adjustments_invoice_id": 54321,
- "has_adjustments_mechanism": "string",
- "history": [
- {
- "adjustment_by": "string",
- "adjustment_date": "2012-04-23",
- "adjustment_difference": "string",
- "adjustment_for_line_item": 80,
- "aggregation_key": "string",
- "billable_unit_features_id": 54321,
- "charged_amount": "string",
- "comments": "string",
- "dependency_type": "string",
- "display_order": 12345,
- "end_date": "2012-04-23",
- "group_id": 54321,
- "has_adjustments": true,
- "has_adjustments_amount": "string",
- "has_adjustments_invoice_id": 54321,
- "has_adjustments_mechanism": "string",
- "id": 54321,
- "is_adjustment": true,
- "is_recurring": true,
- "item_description": "string",
- "parent_feature_id": 80,
- "parent_line_item_id": 54321,
- "post_tax_amount": "string",
- "quantity": 12345,
- "start_date": "2012-04-23",
- "subaccnt_base_product_id": 54321,
- "tax": "string",
- "taxable": true
}
], - "id": 80,
- "is_adjustment": true,
- "is_recurring": true,
- "item_description": "string",
- "parent_feature_id": 80,
- "parent_line_item_id": 54321,
- "post_tax_amount": "string",
- "quantity": 12345,
- "start_date": "2012-04-23",
- "subaccnt_base_product_id": 54321,
- "tax": "string",
- "taxable": true
}
], - "owner_rel_id": 54321,
- "post_tax_total": "string",
- "subtotal": "string",
- "total_tax": "string",
- "uniq_id": "string"
}
], - "local_jurisdiction_id": 54321,
- "local_tax_converted": "string",
- "payment_status": "string",
- "payments": [
- {
- "amount_paid": "string",
- "bill_id": 54321,
- "id": 54321,
- "invoice_id": 54321,
- "received_date": "2012-04-23"
}
], - "reason": "string",
- "reason_display": "string",
- "revision": 12345,
- "serv_end_date": "2012-04-23",
- "serv_start_date": "2012-04-23",
- "tax_rate": 1.25
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Provides a preview invoice allowing customers to better estimate their future bill. Does not include post-facto charges.
Returns data specific to one preview invoice.
id | integer (RELATION_ID) ^[1-9]\d*\z Example: id=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 54321
}
}
{- "accnt": 0,
- "created_date": "string",
- "id": 54321,
- "json_data": { }
}
Return a list of preview records for the account.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
fresh | boolean (BOOLEAN) A boolean value (0 or 1). |
object |
required | object |
{- "params": {
- "accnt": 0,
- "fresh": true,
- "order_by": {
- "field": "id",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "created_date": "string",
- "id": 54321,
- "json_data": { }
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
For customers with a backup plan, their servers are backed up daily. This section of the api allows remote interaction with those backups.
Get information about a specific backup.
Here's a rundown of what the returned fields mean:
accnt: your account number
id: the id of the backup
features: an associate array of feature data that will be applied to any
server created from this backup
name: a displayable backup name
size: the size of the backup, in GB
template: the name of the OS template image from which this backup was created
time_taken: the date and time at which the backup was created
uniq_id: the unique server identifier, made of 6 letters and numbers,
of the server from which this backup was created
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "features": { },
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "size": "123",
- "template": "string",
- "time_taken": "string",
- "uniq_id": "string"
}
Get a paginated list of backups for a particular server. More information about the data returned can be found under the documentation for cloud/backup/details
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "features": { },
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "size": "123",
- "template": "string",
- "time_taken": "string",
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Re-images a server with the backup image requested. If the 'force' flag is passed it will rebuild the filesystem on the server before restoring. This option is not usually needed, but if regular restores are failing, it can fix some scenarios.
force | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "id": 80,
- "uniq_id": "string"
}
}
{- "restored": "string"
}
Get information about a specific config.
Here's a rundown of what those fields mean:
active: a flag indicating whether this server configuration is currently active
available: a flag indicating whether any machines are available for this
server configuration
description: a description of the configuration type. 'Storm 2GB', for example.
disk: the amount of available disk space, in GB
featured: some configurations are flagged as 'featured' so we show them on
the Storm home page. This flag is devoid of any meaning otherwise.
id: the id of this server configuration. Use this values as the 'config_id'
in cloud/server/create and cloud/server/resize
memory: the amount of available RAM, in MB
price: a data structure giving the hourly price and estimated monthly price
of this configuration
zone_availability: a data structure giving the availability of this config
for in various zones.
vcpu: the number of CPUs available to this configuration
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "id": 80
}
}
{- "active": true,
- "available": 12345,
- "category": "string",
- "cpu_cores": 80,
- "cpu_count": 80,
- "cpu_hyperthreading": true,
- "cpu_model": "string",
- "cpu_speed": 80,
- "description": "string",
- "disk": 80,
- "disk_count": 12345,
- "disk_total": 12345,
- "disk_type": "string",
- "featured": true,
- "id": 80,
- "memory": 80,
- "raid_level": 12345,
- "ram_available": 80,
- "ram_total": 80,
- "retired": true,
- "vcpu": 80,
- "zone_availability": { }
}
Get a list of available server configurations. Only active configurations will be returned by this method, whereas the 'details' method will allow you to query information about an inactive configuration. For more information about the fields returned here, refer to the documentation for cloud/config/details.
valid options for category are storm, ssd, bare-metal and all.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
available | boolean (BOOLEAN) A boolean value (0 or 1). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
category | string (LAXWORD) ^[\w-]*\z Default: "storm" A single word, consisting of only letters, digits, hyphens, and underscores. |
required | object |
{- "params": {
- "available": true,
- "category": "storm",
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "active": true,
- "available": 12345,
- "category": "string",
- "cpu_cores": 80,
- "cpu_count": 80,
- "cpu_hyperthreading": true,
- "cpu_model": "string",
- "cpu_speed": 80,
- "description": "string",
- "disk": 80,
- "disk_count": 12345,
- "disk_total": 12345,
- "disk_type": "string",
- "featured": true,
- "id": 80,
- "memory": 80,
- "raid_level": 12345,
- "ram_available": 80,
- "ram_total": 80,
- "retired": true,
- "vcpu": 80,
- "zone_availability": { }
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Get a list of available IPs from the pool.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
region | integer (POSITIVE_INT) ^[1-9]\d*\z Example: region=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "region": 80,
- "zone": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "region": 80,
- "subaccnt": "string",
- "unused_assignments": [
- "string"
], - "zone": 80
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Customer can create images of their server's hard drive on-demand. This section of the API allows remote interaction with those images.
Fires off a process to image the server right now. Since the image won't be created immediately, we can't return the information about it.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
name | string (TEXT_GENERAL) <= 80 characters A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string",
- "uniq_id": "string"
}
}
{- "created": "string"
}
Fires off a process to delete the requested image from the image server that stores it.
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80
}
}
{- "deleted": 80
}
Get information about a specific image.
Here's a rundown of what those fields mean:
accnt: your account number
id: the id of the image
features: an associate array of feature data that will be applied to any
server created from this image
name: the name you gave when you created the image
size: the size of the image, in GB
source_hostname: the hostname of the server from which this image was created
source_uniq_id: the unique server identifier, made of 6 letters and numbers,
of the server from which this image was created
template: the name of the OS template image from which this image was created
template_description: a more informative description of the OS of this image.
'CentOS 5.5 64bit Core-Managed', for example.
time_taken: the date and time at which the image was captured
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80
}
}
{- "accnt": 0,
- "features": { },
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "size": "123",
- "source_hostname": "example.com",
- "source_uniq_id": "string",
- "template": "string",
- "template_description": "string",
- "time_taken": "string"
}
Get a paginated list of previously-created images for your account. More information about the returned data structure can be found in the documentation for server/image/details
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "features": { },
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "size": "123",
- "source_hostname": "example.com",
- "source_uniq_id": "string",
- "template": "string",
- "template_description": "string",
- "time_taken": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Re-images a server with the image requested. If the 'force' flag is passed it will rebuild the filesystem on the server before restoring. This option is not usually needed, but if regular restores are failing, it can fix some scenarios.
force | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "id": 80,
- "uniq_id": "string"
}
}
{- "reimaged": "string"
}
Update an existing image. Currently, only renaming the image is supported. More information about the returned data structure can be found in the documentation for server/image/details/
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string (TEXT_GENERAL) <= 80 characters A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "name": "string"
}
}
{- "accnt": 0,
- "features": { },
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "size": "123",
- "source_hostname": "example.com",
- "source_uniq_id": "string",
- "template": "string",
- "template_description": "string",
- "time_taken": "string"
}
This section of the API provides convenience methods for managing Private Cloud Parents.
Reserver a new private parent for your account. This method takes
config_id: the id of the server configuration you wish to use. For a list
of available configs, see the cloud/config/list API method. For private
parents, only bare-metal configs may be used.
zone: The zone id you wish to reserve this parent in. Only KVM zones
are supported for private parents.
domain: All servers at liquidweb must have a domain, however for
private parents this is only a user facing label. As such it does
not have to be a valid DNS name.
This method returns the same data as the details method.
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
config_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: config_id=80 A positive integer value (i.e. 1 and up). |
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "config_id": 80,
- "domain": "string",
- "zone": 80
}
}
{- "accnt": 0,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "domain": "string",
- "id": 80,
- "license_state": "string",
- "region_id": 80,
- "resources": {
- "diskspace": {
- "free": 12345,
- "total": 80,
- "used": 12345
}, - "memory": {
- "free": 12345,
- "total": 80,
- "used": 12345
}
}, - "subaccnt": 80,
- "type": "string",
- "uniq_id": "string",
- "vcpu": 80,
- "zone": {
- "availability_zone": "string",
- "description": "string",
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}, - "status": "string",
- "valid_source_hvs": [
- "string"
]
}
}
Removes a private parent from your account. This method will return an exception if your parent is not empty.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "deleted": "string"
}
Gets data relevant to a Private Cloud Parent.
Here's a rundown of what the returned fields mean:
accnt: your account number
active: a flag indicating whether the server has finished building
config_id: the id of the server configuration this server is using
region_id: the of the region that this parent is in.
resourceState: A list of hashes, describing the current resources
available on this parent.
uniq_id: the unique server identifier, made of 6 letters and numbers
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "domain": "string",
- "id": 80,
- "license_state": "string",
- "region_id": 80,
- "resources": {
- "diskspace": {
- "free": 12345,
- "total": 80,
- "used": 12345
}, - "memory": {
- "free": 12345,
- "total": 80,
- "used": 12345
}
}, - "subaccnt": 80,
- "type": "string",
- "uniq_id": "string",
- "vcpu": 80,
- "zone": {
- "availability_zone": "string",
- "description": "string",
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}, - "status": "string",
- "valid_source_hvs": [
- "string"
]
}
}
Retrieve a paginated list of Private Cloud Parents on your account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "domain": "string",
- "id": 80,
- "license_state": "string",
- "region_id": 80,
- "resources": {
- "diskspace": {
- "free": 12345,
- "total": 80,
- "used": 12345
}, - "memory": {
- "free": 12345,
- "total": 80,
- "used": 12345
}
}, - "subaccnt": 80,
- "type": "string",
- "uniq_id": "string",
- "vcpu": 80,
- "zone": {
- "availability_zone": "string",
- "description": "string",
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}, - "status": "string",
- "valid_source_hvs": [
- "string"
]
}
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Update details about your parent. Currently on the domain of the server can be updated.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "string",
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "domain": "string",
- "id": 80,
- "license_state": "string",
- "region_id": 80,
- "resources": {
- "diskspace": {
- "free": 12345,
- "total": 80,
- "used": 12345
}, - "memory": {
- "free": 12345,
- "total": 80,
- "used": 12345
}
}, - "subaccnt": 80,
- "type": "string",
- "uniq_id": "string",
- "vcpu": 80,
- "zone": {
- "availability_zone": "string",
- "description": "string",
- "hv_type": "string",
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}, - "status": "string",
- "valid_source_hvs": [
- "string"
]
}
}
This section of the API provides convenience methods for managing cloud (Storm) servers in your account. All of the functionality here is also available in /server, but these methods strip away some of the generic boilerplate in /server that isn't necessary to manage cloud (Storm) servers.
Clone a server. Returns the information about the newly created clone.
All of the optional fields are defaulted to the values on the original server if they aren't received. For cloning to a private parent, include the uniq_id of the parent server to be cloned to, along with the memory/diskspace/vcpu amounts (if different from the original).
new_ip6s | integer (NON_NEG_INT) ^\d+\z Example: new_ip6s=12345 A non-negative integer value (i.e. 0 and up). |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
pool_ips | Array of strings <ipv4> (IPV4) Example: pool_ips=172.0.0.1 |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
config_id | integer (NON_NEG_INT) ^\d+\z Example: config_id=12345 A non-negative integer value (i.e. 0 and up). |
zone | integer (NON_NEG_INT) ^\d+\z Example: zone=12345 A non-negative integer value (i.e. 0 and up). |
new_ips | integer (NON_NEG_INT) ^\d+\z Default: 1 Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
pool6_ips | Array of strings (CIDRV6) |
password | string (STORM_INSTANCE_PASSWORD) ^[a-zA-Z0-9~!\@#\$%^&*_+=`|\\(){}\[\]:;<>,.?/... A password of at least 7 characters and up to 30 characters in length, containing no spaces. Must contain 3 of the 4 following classes: lowercase, uppercase, numbers and punctuation. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "config_id": 12345,
- "diskspace": 80,
- "domain": "example.com",
- "memory": 80,
- "new_ip6s": 12345,
- "new_ips": 12345,
- "parent": "string",
- "password": "string",
- "pool6_ips": [
- "string"
], - "pool_ips": [
- "172.0.0.1"
], - "uniq_id": "string",
- "vcpu": 80,
- "zone": 12345
}
}
{- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
Provision a new server. This fires off the build process, which does the actual provisioning of a new server on its parent. Each server consists of several distinct options:
config_id: the id of the server configuration you wish to use. For a list
of available configs, see the cloud/config/list API method
template: templates are the LiquidWeb-provided server OS images. For a list
of available templates, see the cloud/template/list API method
image_id: rather that provisioning a LiquidWeb template, you can specify
the id of a user-created image on your account. Use the API method
cloud/image/list to find any existing images you have, or cloud/image/create
to create a new image from an existing server
ip_count: the number of IPs you wish the server to have. This defaults to
1 IP, which is included in the base price. Pricing for additional IPs can
be found using the product/details API method.
bandwidth_quota: the bandwidth plan you wish to use. A quota of 0 indicates
that you want as-you-go, usage-based bandwidth charges, but may not be
permitted with all configs. The remaining available quota options can be
found with the product/details API method.
backup_enabled: whether or not backups should be enabled. Defaults to no.
If this is not set to 1, neither of the following two options will be used.
backup_plan: either 'quota' or 'daily', depending on whether you are
choosing a quota-based backup plan or just a specific number of days to be
backed up.
backup_quota: for a 'daily' plan, this indicates the number of days to back
up. For a quota plan, this is the total number of GB to keep. Available
options are found with the product/details API method .
public_ssh_key: optional public ssh key you want added to authorized_keys
on your new server. This should be a valid public ssh key, e.g. the contents
of your id_rsa.pub file.
Beyond those options, we need the hostname of the server ('domain') and the root password you would like set on the server originally ('password').
More information about the returned data structure are found in the documentation for the cloud/server/details method.
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
backup_quota | integer (POSITIVE_INT) ^[1-9]\d*\z Example: backup_quota=80 A positive integer value (i.e. 1 and up). |
password | string (STORM_INSTANCE_PASSWORD) ^[a-zA-Z0-9~!\@#\$%^&*_+=`|\\(){}\[\]:;<>,.?/... A password of at least 7 characters and up to 30 characters in length, containing no spaces. Must contain 3 of the 4 following classes: lowercase, uppercase, numbers and punctuation. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
backup_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: backup_id=80 A positive integer value (i.e. 1 and up). |
template | string (WORD_) ^\w+\z A single word, consisting of only letters, digits, and underscores. |
type | string (ACCOUNT_TYPE) ^[A-Za-z0-9.]{3,}\z A valid subaccnt type descriptor (i.e. DS.W1, GUARD, etc), at least 3 chars long. |
image_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: image_id=80 A positive integer value (i.e. 1 and up). |
antivirus | string (STRING) ^.+\z A string. |
backup_plan | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
bandwidth_quota | integer (NON_NEG_INT) ^\d+\z Example: bandwidth_quota=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
backup_enabled | boolean (BOOLEAN) A boolean value (0 or 1). |
public_ssh_key | string (MULTI_TYPE) One of [SSH_KEY_PUBLIC] or [WORD_]. |
pool6_ips | Array of strings (CIDRV6) |
ms_sql | string (STRING) ^.+\z A string. |
new_ips | integer (NON_NEG_INT) ^\d+\z Default: 1 Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
config_id | integer (NON_NEG_INT) ^\d+\z Example: config_id=12345 A non-negative integer value (i.e. 0 and up). |
pool_ips | Array of strings <ipv4> (IPV4) Example: pool_ips=172.0.0.1 |
required | object |
{- "params": {
- "accnt": 0,
- "antivirus": "string",
- "backup_enabled": true,
- "backup_id": 80,
- "backup_plan": "string",
- "backup_quota": 80,
- "bandwidth_quota": 12345,
- "config_id": 12345,
- "diskspace": 80,
- "domain": "example.com",
- "image_id": 80,
- "memory": 80,
- "ms_sql": "string",
- "new_ips": 12345,
- "parent": "string",
- "password": "string",
- "pool6_ips": [
- "string"
], - "pool_ips": [
- "172.0.0.1"
], - "public_ssh_key": "string",
- "template": "string",
- "type": "string",
- "vcpu": 80,
- "zone": 80
}
}
{- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
Kills a server. It will refund for any remaining time that has been prepaid, charge any outstanding bandwidth charges, and then start the workflow to tear down the server.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "destroyed": "string"
}
Gets data relevant to a cloud (Storm) server.
Here's a rundown of what the returned fields mean:
accnt: your account number
active: a flag indicating whether the server has finished building
backup_enabled: whether or not backups are enabled
backup_plan: either 'quota' or 'daily', depending on which backup plan you
have enabled. If backups are not enabled, this field is empty.
backup_quota: for a 'daily' plan, this indicates the number of days backed
up. For a quota plan, this is the total number of GB of backups kept for
this server. If backups are not enabled, this field is empty.
backup_size: the number of GB your current backups are using
bandwidth_quota: the number of GB of bandwidth included in your bill.
O indicates as-you-go usage-based bandwidth.
config_id: the id of the server configuration this server is using
config_description: a more descriptive name for the server configuration
assigned to this server. 'Storm 2GB', for example.
create_date: the date and time when the server was created
ip: the primary IP of the server
ip_count: the number of IPs the server has assigned to it
manage_level: 'self', 'core', or 'full', determined by which template you
chose when creating the server
self: Includes support for hardware, network and virtualization layers.
core: Includes complete support of the base operating system as well as
Apache, Mysql and PHP. Proactive service restoration is provided.
full: Includes cPanel + Fantastico as well complete support of base
operating system and all cPanel services. Proactive service restoration
is provided.
template: which OS image you have installed. Even when you create a server
from an image, the original OS image is returned here.
template_description: a more informative description of the OS you are using
on this server. 'CentOS 5.5 64bit Core-Managed', for example.
uniq_id: the unique server identifier, made of 6 letters and numbers
zone: the zone in which your server resides. This is not yet useful, but is
still provided as reference. The zone identifiers may change.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
Get a list of notifications for a specific server. Information about the data returned can here be found in cloud/alerts/details
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
An instance uses more memory when using Cloud Block Storage volumes. Normal cloud (Storm) instances have enough pad for this to not be an issue, but bare-metal runs very tight. To work around this we can have a bare-metal instance use less memory so that the parent OS has more. We call this Cloud Block Storage optimization. This method returns a boolean flag 'is_optimized' which is true if the instance has been optimized and false otherwise.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "is_optimized": true
}
Retrieve a paginated list of cloud (Storm) servers on your account. A more detailed description of what is returned can be found in the documentation for the cloud/server/details method.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "parent": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Reboot a server. The 'force' flag will do a hard shutdown/boot of the server from the parent server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
force | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "uniq_id": "string"
}
}
{- "rebooted": "string"
}
Resize a server to a new configuration. Available config_ids can be found in cloud/config/list.
You will be billed for the prorated difference of the price of the new configuration compared to the price of your old configuration. The difference will be refunded or charged at your next billing date.
A server resize cannot cross zones.
When resizing to a larger configuration, the filesystem resize operation can be skipped by passing the 'skip_fs_resize' option. In this case, the storage associated with the new configuration is allocated, but not available immediately. The filesystem resize should be scheduled with the support team.
Skipping the filesystem resize is only possible when moving to a larger configuration. This option has no effect if moving to the same or smaller configuration.
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
skip_fs_resize | boolean (BOOLEAN) A boolean value (0 or 1). |
config_id | integer (NON_NEG_INT) ^\d+\z Example: config_id=12345 A non-negative integer value (i.e. 0 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "config_id": 12345,
- "diskspace": 80,
- "memory": 80,
- "parent": "string",
- "skip_fs_resize": true,
- "uniq_id": "string",
- "vcpu": 80
}
}
{- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
Use this method to determine if currently resizing your server to your chosen config_id would result in any downtime.
If there is no inventory available for the config_id, an exception will be raised.
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
private_parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
disk | integer (POSITIVE_INT) ^[1-9]\d*\z Example: disk=80 A positive integer value (i.e. 1 and up). |
config_id | integer (NON_NEG_INT) ^\d+\z Example: config_id=12345 A non-negative integer value (i.e. 0 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "config_id": 12345,
- "disk": 80,
- "memory": 80,
- "private_parent": "string",
- "uniq_id": "string",
- "vcpu": 80
}
}
{- "diskDifference": 12345,
- "memoryDifference": 12345,
- "rebootRequired": true,
- "vcpuDifference": 12345
}
Start the appropriate workflow to turn Cloud Block Storage optimization on or off. If the desired value that you pass is the same as the current state of your instance, this method is a no-op.
value | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string",
- "value": true
}
}
{- "updated": "string"
}
Stop a server. The 'force' flag will do a hard stop of the server from the parent server. Otherwise, it will issue a halt command to the server and shutdown normally.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
force | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "uniq_id": "string"
}
}
{- "shutdown": "string"
}
Boot a server. If the server is already running, this will do nothing.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "started": "string"
}
Gets the current status of a server, in relation to what processes are being run on its behalf.
The list of available statuses at this time are:
Building
Cloning
Resizing
Moving
Booting
Stopping
Restarting
Rebooting
Shutting Down
Restoring Backup
Creating Image
Deleting Image
Restoring Image
Re-Imaging
Updating Firewall
Updating Network
Adding IPs
Removing IP
Destroying
If nothing is currently running, only the 'status' field will be returned with one of the following statuses:
Failed
Provisioning
Running
Shutdown
Stopped
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "detailed_status": "string",
- "progress": 1.25,
- "running": [
- {
- "current_step": 12345,
- "detailed_status": "string",
- "name": "string",
- "status": "string"
}
], - "status": "string"
}
Update details about your server, including the backup and bandwidth plans, and the hostname ('domain') we have on file.
Updating the 'domain' field will not change the actual hostname on the server. It merely updates what our records show.
backup_enabled | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
bandwidth_quota | integer (NON_NEG_INT) ^\d+\z Example: bandwidth_quota=12345 A non-negative integer value (i.e. 0 and up). |
backup_plan | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
backup_quota | integer (POSITIVE_INT) ^[1-9]\d*\z Example: backup_quota=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 80,
- "bandwidth_quota": 12345,
- "domain": "example.com",
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "backup_enabled": true,
- "backup_plan": "string",
- "backup_quota": 12345,
- "backup_size": 1.25,
- "bandwidth_quota": 12345,
- "config_description": "string",
- "config_id": 80,
- "create_date": "string",
- "diskspace": 12345,
- "domain": "example.com",
- "ip": "172.0.0.1",
- "ip_count": 80,
- "manage_level": "string",
- "memory": 12345,
- "template": "string",
- "template_description": "string",
- "type": "string",
- "uniq_id": "string",
- "vcpu": 12345,
- "zone": {
- "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}
}
}
Templates are OS images created and maintained by LiquidWeb. This section of the API allows remote interaction with those images.
Get information about a specific template. You can query details about inactive templates because backups, existing servers, and images might be tied to one, but you cannot provision to or restore an inactive template. You can, however, restore from a deprecated template.
Here's a rundown of what those fields mean:
active: a flag indicating whether the template is currently active. You can
only create or reimage servers to active templates.
deprecated: a flag indicating whether the template has been deprecated.
This means it can't be used for new creates, but can be used to restore
from backups or images.
description: the descriptive OS template name
id: the id of the template
manage_level: 'self', 'core', or 'full', determined by which template you
chose when creating the server
self: Includes support for hardware, network and virtualization layers.
core: Includes complete support of the base operating system as well as
Apache, Mysql and PHP. Proactive service restoration is provided.
full: Includes cPanel + Fantastico as well complete support of base
operating system and all cPanel services. Proactive service restoration
is provided.
name: a unique identifier for the template, used in methods like
server/create
os: an internal OS identifier. There can be multiple templates that have
the same OS, but differ in other ways (like management level).
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
template | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "id": 80,
- "template": "string"
}
}
{- "deprecated": true,
- "description": "string",
- "id": 80,
- "manage_level": "string",
- "name": "string",
- "os": "string",
- "zone_availability": { }
}
Get a list of useable templates. More information about the fields returned can be found in the documenation for server/template/details
This method returns templates that are currently active, including deprecated templates which may not be used for new instances but may be associated with existing servers or backups.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "deprecated": true,
- "description": "string",
- "id": 80,
- "manage_level": "string",
- "name": "string",
- "os": "string",
- "zone_availability": { }
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Re-images a server with the template requested. If the 'force' flag is passed it will rebuild the filesystem on the server before restoring. This option is not usually needed, but if regular restores are failing, it can fix some scenarios.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
template | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
force | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "id": 80,
- "template": "string",
- "uniq_id": "string"
}
}
{- "reimaged": "string"
}
Create a new contact
id | integer (RELATION_ID) ^[1-9]\d*\z Example: id=54321 A valid id number (a positive integer). |
updated_date | string (TIMESTAMP) ^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2... A valid date and time in YYYY-MM-DD HH:MM:SS-TZ format. |
contact_role | any Enum: "individual" "organization" |
tax_exempt | boolean (BOOLEAN) A boolean value (0 or 1). |
Array of objects | |
validated | boolean (BOOLEAN) A boolean value (0 or 1). |
mname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
contact_role_id | integer (RELATION_ID) ^[1-9]\d*\z Example: contact_role_id=54321 A valid id number (a positive integer). |
time_zone | string (TIME_ZONE) ^(?:\w+/)*\w+ A valid timezone with a word, a forward-slash, and another word (e.g. US/Eastern) and any number of trailing forward slashes and words (e.g. America/Argentina/BuenosAires) |
contact | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
tax_id | string (TAX_ID) ^(?i)[a-z0-9 #_:-]{2,40}\z A valid tax or tax exemption id. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
fname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
address2 | string (STREET_ADDRESS_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,150}\z A valid street address, up to 150 characters in length. |
type | any Value: "invoice" |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
address | string (STREET_ADDRESS_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,150}\z A valid street address, up to 150 characters in length. |
tax_exempt_reason | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
lname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
country | string (COUNTRY) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid country. |
tax_exempt_id | string (TAX_ID) ^(?i)[a-z0-9 #_:-]{2,40}\z A valid tax or tax exemption id. |
title | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
postal_code | string (POSTAL_CODE) ^(?i)[a-z0-9.,#'/ -]{2,40}\z A valid postal code. |
organization | string (ORGNAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,100}\z A valid company name, up to 100 characters in length. |
city | string (CITY_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,80}\z A valid city name. |
Array of objects | |
foreign_tax_type | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
Array of objects |
required | object |
{- "params": {
- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "contact_role": "individual",
- "contact_role_id": 54321,
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 54321,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "type": "invoice",
- "updated_date": "string",
- "validated": true
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "contact_role": "individual",
- "contact_role_id": 54321,
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 54321,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "type": "invoice",
- "updated_date": "string",
- "validated": true
}
show the details of one specific contact
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
WORD_ (string) or (Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "id": 80
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "contact_role": "individual",
- "contact_role_id": 54321,
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 54321,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "type": "invoice",
- "updated_date": "string",
- "validated": true
}
list all contacts by account
WORD_ (string) or (Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
phone | string (PHONE_GENERIC) ^(?i)[0-9extnsio.,()+ -]{2,25}\z A valid phone number. |
sort_order | any Enum: "asc" "desc" "ASC" "DESC" |
mname | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
order_by | string (SQL_ORDER_BY) A valid SQL order by clause (cannot contain any subqueries). |
address2 | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
time_zone | string (TIME_ZONE) ^(?:\w+/)*\w+ A valid timezone with a word, a forward-slash, and another word (e.g. US/Eastern) and any number of trailing forward slashes and words (e.g. America/Argentina/BuenosAires) |
tax_id | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
fname | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
state | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
address | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
postal_code | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. | |
lname | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
country | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
city | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
ipaddr | string (IP) A valid IP address (v4 or v6) |
organization | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
required | object |
{- "params": {
- "accnt": 0,
- "address": "string",
- "address2": "string",
- "alsowith": "string",
- "city": "string",
- "country": "string",
- "email": "string",
- "fname": "string",
- "id": 80,
- "ipaddr": "string",
- "lname": "string",
- "mname": "string",
- "order_by": "string",
- "organization": "string",
- "page_num": 80,
- "page_size": 80,
- "phone": "string",
- "postal_code": "string",
- "sort_order": "asc",
- "state": "string",
- "tax_id": "string",
- "time_zone": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "contact_role": "individual",
- "contact_role_id": 54321,
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 54321,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "type": "invoice",
- "updated_date": "string",
- "validated": true
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
update a contact given replacement fields for current fields.
tax_exempt_reason | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
address | string (STREET_ADDRESS_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,150}\z A valid street address, up to 150 characters in length. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
postal_code | string (POSTAL_CODE) ^(?i)[a-z0-9.,#'/ -]{2,40}\z A valid postal code. |
title | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
tax_exempt_id | string (TAX_ID) ^(?i)[a-z0-9 #_:-]{2,40}\z A valid tax or tax exemption id. |
lname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
country | string (COUNTRY) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid country. |
city | string (CITY_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,80}\z A valid city name. |
organization | string (ORGNAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,100}\z A valid company name, up to 100 characters in length. |
Array of objects | |
foreign_tax_type | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
Array of objects | |
tax_exempt | boolean (BOOLEAN) A boolean value (0 or 1). |
updated_date | string (TIMESTAMP) ^\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{1,2}:\d{1,2... A valid date and time in YYYY-MM-DD HH:MM:SS-TZ format. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
Array of objects | |
mname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
validated | boolean (BOOLEAN) A boolean value (0 or 1). |
address2 | string (STREET_ADDRESS_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{2,150}\z A valid street address, up to 150 characters in length. |
fname | string (NAME_STRICT) ^(?i)[^[:cntrl:]<>{}\[\]]{1,100}\z A valid name, up to 100 characters in length. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
tax_id | string (TAX_ID) ^(?i)[a-z0-9 #_:-]{2,40}\z A valid tax or tax exemption id. |
time_zone | string (TIME_ZONE) ^(?:\w+/)*\w+ A valid timezone with a word, a forward-slash, and another word (e.g. US/Eastern) and any number of trailing forward slashes and words (e.g. America/Argentina/BuenosAires) |
contact | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 80,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "updated_date": "string",
- "validated": true
}
}
{- "accnt": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "contact": "string",
- "contact_role": "individual",
- "contact_role_id": 54321,
- "country": "string",
- "emails": [
- {
- "address": "user@example.com",
- "contact_id": 54321,
- "id": 54321,
- "type": "cc"
}
], - "fname": "string",
- "foreign_tax_type": "string",
- "id": 54321,
- "lname": "string",
- "mname": "string",
- "organization": "string",
- "phones": [
- {
- "contact_id": 54321,
- "id": 54321,
- "number": "string",
- "type": "office"
}
], - "postal_code": "string",
- "social": [
- {
- "contact_id": 54321,
- "handle": "string",
- "id": 54321,
- "type": "string"
}
], - "state": "string",
- "tax_exempt": true,
- "tax_exempt_id": "string",
- "tax_exempt_reason": "string",
- "tax_id": "string",
- "time_zone": "string",
- "title": "string",
- "type": "invoice",
- "updated_date": "string",
- "validated": true
}
Returns a paginated list of domain related assets
object | |
types | Array of any Default: "dns&types=dreg&types=ssl" Items Enum: "dns" "dreg" "ssl" |
domain | string (MULTI_TYPE) One of [DOMAIN_FRAGMENT] or [DOMAIN_FULL]. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
autorenew | boolean (BOOLEAN) A boolean value (0 or 1). |
domain_match | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "autorenew": true,
- "domain": "string",
- "domain_match": true,
- "order_by": {
- "field": "domain",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80,
- "types": [
- "dns",
- "dreg",
- "ssl"
]
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "dns": {
- "uniq_id": "string"
}, - "domain": "example.com",
- "dreg": {
- "autorenew": true,
- "expiration": "string",
- "redemption": true,
- "renewable": true,
- "uniq_id": "string"
}, - "is_subdomain": true,
- "project_id": 80,
- "project_name": "string",
- "ssl": {
- "autorenew": true,
- "details": { },
- "expiration": "string",
- "renewable": true,
- "type": "DV",
- "uniq_id": "string",
- "wildcard": true
}
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Returns a summary of domain services (BusinessEmail and CloudFlare)
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com"
}
}
{- "business_email": {
- "exchange": {
- "count": 80
}, - "plus": {
- "count": 80
}, - "standard": {
- "count": 80
}, - "uniq_id": "string"
}, - "cloudflare": {
- "plan": "string",
- "security_level": "string",
- "uniq_id": "string"
}
}
This section of the api provides methods for querying in the bandwidth activity of a server.
Get a bandwidth usage graph for a server. The image is returned as a base64 encoded blob.
'frequency' is the duration of the graph you wish to see. For example, if frequency is daily, the bandwidth usage for the last day would be graphed. The default is to get the last month, but the following options are available:
'daily', 'weekly', 'monthly', 'yearly'
Examples:
Perl:
my $graph = $api->request('monitoring/bandwidth/graph', { uniq_id => ABC123 });
print "Content-type: $graph->{content_type}\n\n"; print MIME::Base64::decode_base64($graph->{content});
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
height | integer (POSITIVE_INT) ^[1-9]\d*\z Example: height=80 A positive integer value (i.e. 1 and up). |
width | integer (POSITIVE_INT) ^[1-9]\d*\z Example: width=80 A positive integer value (i.e. 1 and up). |
frequency | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
small | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "frequency": "string",
- "height": 80,
- "small": true,
- "uniq_id": "string",
- "width": 80
}
}
{- "content": "string",
- "content_type": "string"
}
Get bandwidth usage stats for a server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "actual": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "averages": {
- "day": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "hour": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "minute": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "month": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "second": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "week": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}, - "year": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}
}, - "cost": {
- "current": "string",
- "projected": "string"
}, - "domain": "example.com",
- "pricing": {
- "per_gb_over": "string",
- "price": "string",
- "quota": 12345
}, - "projected": {
- "both": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "in": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}, - "out": {
- "B": 1.25,
- "GB": 1.25,
- "KB": 1.25,
- "MB": 1.25
}
}
}
Get a load graph for a server as a base64 encoded blob.
'stat' is the load statistic to be graphed. Available options are:
'load1' - 1 minute load average
'load5' - 5 minute load average
'load15' - 15 minute load average
'rproc' - running process count
'tproc' - total process count
'pmem' - physical memory usage
'smem' - swap (virtual) memory usage
'diskroot' - /root volume usage
'diskbackup' - /backup volume usage
'diskhome' - /home volume usage
'disktmp' - /tmp volume usage
'diskusr' - /usr volume usage
'diskvar' - /var volume usage
'duration' is the duration of data you wish to graph. The default is to get the last day, but the following options are available:
'6hour', '12hour', 'day', '3day', 'week', '2week'
Examples:
Perl:
my $graph = $api->request('monitoring/load/graph', { stat => 'load1', uniq_id => 'ABCD1234' });
print "Content-type: $graph->{content_type}\n\n"; print MIME::Base64::decode_base64($graph->{content});
width | integer (POSITIVE_INT) ^[1-9]\d*\z Example: width=80 A positive integer value (i.e. 1 and up). |
height | integer (POSITIVE_INT) ^[1-9]\d*\z Example: height=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
compact | boolean (BOOLEAN) A boolean value (0 or 1). |
stat | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
duration | string (WORD) ^(?i)[a-z0-9]*\z Default: "day" A single word, consisting of only letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "compact": true,
- "duration": "day",
- "height": 80,
- "stat": "string",
- "uniq_id": "string",
- "width": 80
}
}
{- "content": "string",
- "content_type": "string"
}
Get load stats for a server. Memory is returned in units of MB, whereas disk usage is in terms of GB. Values can be returned as 'N/A' if there was no data collected or the item in question is not something on the server.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "disk": {
- "percent": 1.25,
- "total": 1.25,
- "used": 1.25
}, - "domain": "example.com",
- "loadavg": {
- "fifteen": 1.25,
- "five": 1.25,
- "one": 1.25
}, - "memory": {
- "physical": {
- "percent": 1.25,
- "total": 1.25,
- "used": 1.25
}, - "virtual": {
- "percent": 1.25,
- "total": 1.25,
- "used": 1.25
}
}, - "proc": {
- "running": 12345,
- "total": 12345
}, - "uptime": "string"
}
This section of the API allows for remotely querying service status data for a server, as well as managing monitoring settings.
Get the current monitoring settings for a server.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "can_monitor": [
- "string"
], - "enabled": true,
- "services": [
- "string"
], - "uniq_id": "string",
- "unmonitored": true
}
Get the current service status for each monitored service on a server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "DYNAMIC[WORD]": "string"
}
Turns autorenewal On or Off.
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
allow | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "allow": true,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "allow": true,
- "domain": "example.com"
}
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "domain": "example.com"
}
}
{- "autorenew": true,
- "autorenew_only": true,
- "autorenew_value": "On",
- "domain": "example.com",
- "duration": 1,
- "expiration": "string",
- "has_privacy": true,
- "is_expired": true,
- "is_renewable": true,
- "is_rgp": true,
- "is_transfer": true,
- "privacy": "On",
- "privacy_allowed": true,
- "redemption_order_id": "string",
- "redemption_price": "string",
- "renewal_max_years": 80,
- "renewal_price": "string",
- "uniq_id": "string"
}
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
Returns the list of domain registrations for a given account.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
domain | string (DOMAIN_FRAGMENT) Example: domain=dns.example A fragment of a valid domain name, suitable for partial domain searching |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
object | |
transfers | boolean (BOOLEAN) A boolean value (0 or 1). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
WORD_ (string) or (Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "domain": "dns.example",
- "order_by": {
- "field": "domain",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80,
- "transfers": true,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "autorenew": true,
- "autorenew_only": true,
- "autorenew_value": "On",
- "domain": "example.com",
- "duration": 1,
- "expiration": "string",
- "has_privacy": true,
- "is_expired": true,
- "is_renewable": true,
- "is_rgp": true,
- "is_transfer": true,
- "privacy": "On",
- "privacy_allowed": true,
- "redemption_order_id": "string",
- "redemption_price": "string",
- "renewal_max_years": 80,
- "renewal_price": "string",
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Register multimple domain, up to five, at the same time.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
Array of objects |
required | object |
{- "params": {
- "accnt": 0,
- "domains": [
- {
- "autoRenew": true,
- "contact": {
- "Address1": "string",
- "Address2": "string",
- "City": "string",
- "Country": "string",
- "EmailAddress": "user@example.com",
- "Fax": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "LastName": "string",
- "OrganizationName": "string",
- "Phone": "string",
- "PostalCode": "string",
- "StateProvince": "string",
- "StateProvinceChoice": "S"
}, - "domain": "example.com",
- "duration": 1,
- "ip": "string",
- "lwtech": true,
- "nameServers": [
- "example.com"
], - "park": true,
- "privacy": true,
- "reseller": true
}
]
}
}
{- "result": [
- {
- "details": {
- "autorenew": true,
- "autorenew_only": true,
- "autorenew_value": "On",
- "domain": "example.com",
- "duration": 1,
- "expiration": "string",
- "has_privacy": true,
- "is_expired": true,
- "is_renewable": true,
- "is_rgp": true,
- "is_transfer": true,
- "privacy": "On",
- "privacy_allowed": true,
- "redemption_order_id": "string",
- "redemption_price": "string",
- "renewal_max_years": 80,
- "renewal_price": "string",
- "uniq_id": "string"
}, - "domain": "example.com",
- "status": "registered"
}
]
}
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "method": "string",
- "success": true
}
Create a domain registration request.
object | |
reseller | boolean (BOOLEAN) A boolean value (0 or 1). |
lwtech | boolean (BOOLEAN) A boolean value (0 or 1). |
nameServers | Array of strings <hostname> (DOMAIN_FULL) Example: nameServers=example.com |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
duration | any Default: 1 Enum: 1 2 3 4 5 6 7 8 9 10 |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
privacy | boolean (BOOLEAN) A boolean value (0 or 1). |
autoRenew | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "autoRenew": true,
- "contact": {
- "Address1": "string",
- "Address2": "string",
- "City": "string",
- "Country": "string",
- "EmailAddress": "user@example.com",
- "Fax": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "LastName": "string",
- "OrganizationName": "string",
- "Phone": "string",
- "PostalCode": "string",
- "StateProvince": "string",
- "StateProvinceChoice": "S"
}, - "domain": "example.com",
- "duration": 1,
- "lwtech": true,
- "nameServers": [
- "example.com"
], - "privacy": true,
- "reseller": true
}
}
{- "autorenew": true,
- "autorenew_only": true,
- "autorenew_value": "On",
- "domain": "example.com",
- "duration": 1,
- "expiration": "string",
- "has_privacy": true,
- "is_expired": true,
- "is_renewable": true,
- "is_rgp": true,
- "is_transfer": true,
- "privacy": "On",
- "privacy_allowed": true,
- "redemption_order_id": "string",
- "redemption_price": "string",
- "renewal_max_years": 80,
- "renewal_price": "string",
- "uniq_id": "string"
}
domain | string (MULTI_TYPE) One of [DNS_LABEL] or [DOMAIN_FULL]. |
skip_suggested_domains | boolean (BOOL) A boolean value (0 or 1). |
required | object |
{- "params": {
- "domain": "string",
- "skip_suggested_domains": true
}
}
{- "available": true,
- "domain": "example.com",
- "enabled": true,
- "extended_attributes": [
- {
- "description": "string",
- "name": "string",
- "options": [
- {
- "description": "string",
- "requires": "string",
- "title": "string",
- "value": "string"
}
], - "required": true,
- "required_by": { }
}
], - "lax": true,
- "lockable": true,
- "max_period": 1,
- "min_period": 1,
- "price": "string",
- "real_time": true,
- "registerable": true,
- "suggested": [
- {
- "available": true,
- "domain": "example.com",
- "enabled": true,
- "extended_attributes": [
- {
- "description": "string",
- "name": "string",
- "options": [
- {
- "description": "string",
- "requires": "string",
- "title": "string",
- "value": "string"
}
], - "required": true,
- "required_by": { }
}
], - "lax": true,
- "lockable": true,
- "max_period": 1,
- "min_period": 1,
- "price": "string",
- "real_time": true,
- "registerable": true
}
]
}
Renews a domain.
duration | any Default: 1 Enum: 1 2 3 4 5 6 7 8 9 10 |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
privacy | boolean (BOOLEAN) A boolean value (0 or 1). |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
autoRenew | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "autoRenew": true,
- "domain": "example.com",
- "duration": 1,
- "privacy": true
}
}
{- "autorenew": true,
- "autorenew_only": true,
- "autorenew_value": "On",
- "domain": "example.com",
- "duration": 1,
- "expiration": "string",
- "has_privacy": true,
- "is_expired": true,
- "is_renewable": true,
- "is_rgp": true,
- "is_transfer": true,
- "privacy": "On",
- "privacy_allowed": true,
- "redemption_order_id": "string",
- "redemption_price": "string",
- "renewal_max_years": 80,
- "renewal_price": "string",
- "uniq_id": "string"
}
DOMAIN_FULL (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [DOMAIN_FULL] or [ARRAY[DOMAIN_FULL]]. |
required | object |
{- "params": {
- "domains": "example.com"
}
}
{- "DYNAMIC[DOMAIN_FULL]": {
- "domain": "example.com",
- "enabled": true,
- "extended_attributes": [
- {
- "description": "string",
- "name": "string",
- "options": [
- {
- "description": "string",
- "requires": "string",
- "title": "string",
- "value": "string"
}
], - "required": true,
- "required_by": { }
}
], - "lax": true,
- "lockable": true,
- "max_period": 1,
- "min_period": 1,
- "price": "string",
- "real_time": true
}
}
This section of the API allows for working with the contact information for a given domain.
Get contacts for the given domain.
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "uniq_id": "string"
}
}
{- "contacts": [
- "string"
]
}
This method can be used to update contact information for a domain at eNom. Limited to REGISTRANT, TECH, ADMIN types.
use_LW_for_tech_contact | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
object | |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
sync_all_with_billing | boolean (BOOLEAN) A boolean value (0 or 1). |
object | |
object |
required | object |
{- "params": {
- "accnt": 0,
- "admin": {
- "Address1": "string",
- "Address2": "string",
- "City": "string",
- "Country": "string",
- "EmailAddress": "user@example.com",
- "Fax": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "LastName": "string",
- "OrganizationName": "string",
- "Phone": "string",
- "PostalCode": "string",
- "StateProvince": "string",
- "StateProvinceChoice": "S"
}, - "registrant": {
- "Address1": "string",
- "Address2": "string",
- "City": "string",
- "Country": "string",
- "EmailAddress": "user@example.com",
- "Fax": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "LastName": "string",
- "OrganizationName": "string",
- "Phone": "string",
- "PostalCode": "string",
- "StateProvince": "string",
- "StateProvinceChoice": "S"
}, - "sync_all_with_billing": true,
- "tech": {
- "Address1": "string",
- "Address2": "string",
- "City": "string",
- "Country": "string",
- "EmailAddress": "user@example.com",
- "Fax": "string",
- "FirstName": "string",
- "JobTitle": "string",
- "LastName": "string",
- "OrganizationName": "string",
- "Phone": "string",
- "PostalCode": "string",
- "StateProvince": "string",
- "StateProvinceChoice": "S"
}, - "uniq_id": "string",
- "use_LW_for_tech_contact": true
}
}
{- "success": true
}
This section of the API allows for working with the name server information for a given domain.
Change which name servers are assigned to a domain.
ns1 | string <hostname> (DOMAIN_FULL) Example: ns1=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
ns2 | string <hostname> (DOMAIN_FULL) Example: ns2=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "ns1": "example.com",
- "ns2": "example.com",
- "uniq_id": "string"
}
}
{- "success": true
}
Remove a nameserver from a domain.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
ns | string <hostname> (DOMAIN_ANY) Example: ns=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "ns": "example.com",
- "uniq_id": "string"
}
}
{- "success": true
}
List assigned name servers for a domain.
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "uniq_id": "string"
}
}
{- "results": [
- "string"
]
}
List registered name servers for a domain.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "results": [
- "string"
]
}
nsname | string <hostname> (DOMAIN_ANY) Example: nsname=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
ip | string <ipv4> (IPV4) Example: ip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "ip": "172.0.0.1",
- "nsname": "example.com",
- "uniq_id": "string"
}
}
{- "id": 54321,
- "ip": "172.0.0.1",
- "name_server": "example.com",
- "uniq_id": "string"
}
This method can be used to update the name server for a domain,
ns | string <hostname> (DOMAIN_ANY) Example: ns=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
newip | string <ipv4> (IPV4) Example: newip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "newip": "172.0.0.1",
- "ns": "example.com",
- "uniq_id": "string"
}
}
{- "id": 54321,
- "ip": "172.0.0.1",
- "name_server": "example.com",
- "uniq_id": "string"
}
Cancel a given transfer, if possible.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
Create an incoming domain transfer.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
eppCode | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "eppCode": "string"
}
}
{- "created_date": "string",
- "domain": "example.com",
- "id": 54321,
- "is_cancellable": true,
- "is_complete": true,
- "registrar_detail_status_description": "string",
- "registrar_detail_status_id": 80,
- "registrar_order_id": 12345,
- "registrar_status_id": 80,
- "transfer_type": "incoming",
- "uniq_id": "string"
}
Create an outgoing domain transfer.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "created_date": "string",
- "domain": "example.com",
- "id": 54321,
- "is_cancellable": true,
- "is_complete": true,
- "registrar_detail_status_description": "string",
- "registrar_detail_status_id": 80,
- "registrar_order_id": 12345,
- "registrar_status_id": 80,
- "transfer_type": "incoming",
- "uniq_id": "string"
}
Delete a transfer record for the given domain.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
Delete a transfer record for the given domain.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "created_date": "string",
- "domain": "example.com",
- "id": 54321,
- "is_cancellable": true,
- "is_complete": true,
- "registrar_detail_status_description": "string",
- "registrar_detail_status_id": 80,
- "registrar_order_id": 12345,
- "registrar_status_id": 80,
- "transfer_type": "incoming",
- "uniq_id": "string"
}
List a transfer records for the given account.
object | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "order_by": {
- "field": "created_date",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "created_date": "string",
- "domain": "example.com",
- "id": 54321,
- "is_cancellable": true,
- "is_complete": true,
- "registrar_detail_status_description": "string",
- "registrar_detail_status_id": 80,
- "registrar_order_id": 12345,
- "registrar_status_id": 80,
- "transfer_type": "incoming",
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Resend the authorization email for an incoming transfer
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
Sends the EPP code for a given domain
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "success": true
}
Each DNS zone contains multiple Resource Records, which are the guts of DNS. Each record can point an domain name to an IP, a subdomain to another domain, etc.
This section of the API allows interaction with all the various
Resource Records in your zones.
This method is used to add new resource records (RRs) to a zone.
The returned data will be an associative array of the fields of the record, and will include any parsed rdata fields in that associateve array, such as the priority and exchange fields of an MX record.
In the v1 api, the prio field is considered seperate from rdata, and should be specified seperately, but in the bleed version and future numbered versions of the api, the prio field is considered part of the record data, and should be included there if appropriate for the record.
Fields: zone_id: The id of the zone that you are creating the record in. zone: The name of the zone that you are creating the record in. name: The name field of the record itself. type: The type of the record, which must a valid DNS record type. ttl: The Time To Live for the record. prio: The priority field for the record. This field applies to MX and SRV records. rdata: The Record Data associated with this DNS record. The exact contents are dependent on record type.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
name | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
ttl | integer (POSITIVE_INT) ^[1-9]\d*\z Example: ttl=80 A positive integer value (i.e. 1 and up). |
rdata | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
type | string (RR_TYPE) A valid DNS resource record type |
zone | string (MULTI_TYPE) One of [DNS_REVERSE_ZONE] or [DNS_ZONE]. |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string",
- "rdata": "string",
- "ttl": 80,
- "type": "string",
- "zone": "string",
- "zone_id": 80
}
}
{- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
This method is used to delete resource records (RRs) from a zone file It returns the 'deleted' field, whose value is the records id field.
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80
}
}
{- "deleted": 80
}
Retrieve details about a particular resource record.
The returned structure is an associative array of the details of the record, with additional fields added to represent the derived meaning of the rdata field.
For example, an MX record will have a field present for the exchange that it points to, and an SRV record will have fields for weight, port and target.
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80
}
}
{- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
This method is used to get resource records (RRs) from a zone file. Each entry in the 'items' array referrs to one of the records in the zone. The details of these entries are further described in the 'details' method.
zone | string (MULTI_TYPE) One of [DNS_ZONE] or [DNS_REVERSE_ZONE]. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "zone": "string",
- "zone_id": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- "dns.example"
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
This method is used to create and update multiple resource records (RRs) simultaneously.
Array of objects | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "records": [
- {
- "action": "change",
- "id": 54321,
- "name": "string",
- "rdata": "string",
- "ttl": 80,
- "type": "string",
- "zone": "string",
- "zone_id": 54321
}
]
}
}
{- "result": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
]
}
This method is used to update resource records (RRs) in a zone.
For details on the return structure, input field explanation, and interversion compatibility caveats, please referr to the documentation of the 'create' method.
ttl | integer (POSITIVE_INT) ^[1-9]\d*\z Example: ttl=80 A positive integer value (i.e. 1 and up). |
name | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
rdata | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "name": "string",
- "rdata": "string",
- "ttl": 80
}
}
{- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
Normally with DNS, you look up an IP address with a domain name. In the case of Reverse DNS, you look up a domain name from an IP address. Many technologies use this as a means of validating requests are coming from where they say they are.
This section of the API allows you to set up, remove, and query Reverse
DNS information for your IPs.
Get a list of IPs available for assignment.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "items": [
- {
- "current_ptr": "example.com",
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
]
}
This method is used to remove reverse DNS records.
hostname | string <hostname> (DOMAIN_ANY) Example: hostname=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
ip | string <ipv4> (IPV4) Example: ip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "hostname": "example.com",
- "ip": "172.0.0.1"
}
}
{- "deleted": "172.0.0.1"
}
Updates a ptr record.
ip | string <ipv4> (IPV4) Example: ip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
hostname | string <hostname> (DOMAIN_ANY) Example: hostname=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "hostname": "example.com",
- "ip": "172.0.0.1"
}
}
{- "DYNAMIC[IPV4|IP_RANGE]": "example.com"
}
DNS allows you to point domain names to IP addresses. Each domain name is represented by a DNS zone, which in turns can contain several records of varying types. For more information about the generals of DNS, refer to Wikipedia or some other resource.
This section of the API contains methods for creating and deleting
zones from our DNS system, as well as getting information about what
zones we are currently serving for you.
Update all resource records in a zone with the same TTL.
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
ttl | integer (POSITIVE_INT) ^[1-9]\d*\z Example: ttl=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "name": "dns.example",
- "ttl": 80
}
}
{- "records": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
]
}
Add a new DNS zone.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
live_domain | boolean (BOOLEAN) A boolean value (0 or 1). |
region_support | boolean (BOOLEAN) A boolean value (0 or 1). |
object | |
add_pbe_records | boolean (BOOLEAN) A boolean value (0 or 1). |
no_extra | boolean (BOOLEAN) A boolean value (0 or 1). |
cloudsite | boolean (BOOLEAN) A boolean value (0 or 1). |
name | string <hostname> (DOMAIN_FULL) Example: name=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "add_pbe_records": true,
- "cloudsite": true,
- "live_domain": true,
- "name": "example.com",
- "no_extra": true,
- "region_support": true,
- "zone_data": {
- "contact": "user@example.com",
- "ip": "string",
- "primary": "example.com",
- "secondary": "example.com"
}
}
}
{- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "type": "string"
}
This method can be used to check if a DNS zone is properly delegated to our nameservers.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
name | string <hostname> (DNS_NAME) Example: name=example.com A valid domain name (max 127 labels, each between 1 and 63 characters, totaling no more than 253 characters) |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "name": "example.com"
}
}
{- "delegation": "string"
}
Remove a DNS zone.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "name": "dns.example"
}
}
{- "deleted": "example.com"
}
Retrieve details on a particular zone served by our DNS servers.
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
alsowith | Array of any Items Value: "delegation" |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "delegation"
], - "id": 80,
- "name": "dns.example"
}
}
{- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "type": "string"
}
Formats the Zone and Records in BIND Format
id | integer (RELATION_ID) ^[1-9]\d*\z Example: id=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 54321,
- "name": "dns.example"
}
}
{- "bind_data": "string"
}
Given a domain and a uniq_id, imports domain information from cPanel and creates requisite records.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string (DNS_ZONE) Example: domain=dns.example A valid forward DNS Zone name. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "dns.example",
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "subaccnt": 54321,
- "type": "string",
- "uniq_id": "string"
}
Upload a DNS zone file and add the zone.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
zonefile | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "zonefile": "string"
}
}
{- "zones": [
- {
- "accnt": 0,
- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "subaccnt": 54321,
- "type": "string",
- "uniq_id": "string"
}
]
}
Retrieve a list of zones that are served by our DNS servers for your account.
object | |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
delegation_status | any Enum: "CORRECT" "NXDOMAIN" "BAD_NAMESERVERS" "SERVFAIL" "UNKNOWN" |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string (DOMAIN_FRAGMENT) Example: domain=dns.example A fragment of a valid domain name, suitable for partial domain searching |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "delegation_status": "CORRECT",
- "domain": "dns.example",
- "order_by": {
- "field": "domain",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "type": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Returns a list of IPs that are valid destinations for A records to be created at the time of creating the zone.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "items": [
- {
- "ip": "172.0.0.1",
- "label": "string",
- "type": "string",
- "uniq_id": "string"
}
]
}
Retrieve a summary on a particular DNS zone.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
required | object |
{- "params": {
- "accnt": 0,
- "name": "dns.example"
}
}
{- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "records": {
- "a": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
], - "mx": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
], - "ns": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
], - "txt": [
- {
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
]
}, - "region_support": true,
- "type": "string"
}
Update the zone features.
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string (DNS_ZONE) Example: name=dns.example A valid forward DNS Zone name. |
DNSRegionSupport | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "DNSRegionSupport": true,
- "accnt": 0,
- "id": 80,
- "name": "dns.example"
}
}
{- "active": true,
- "delegation": [
- "example.com"
], - "delegation_checked": "string",
- "delegation_status": "string",
- "id": 80,
- "master": "172.0.0.1",
- "name": "example.com",
- "notified_serial": 80,
- "region_support": true,
- "type": "string"
}
API interface for accessing DNS Zone History, which is a JSON structured snapshot of a zone and it's associated records that is captured prior to any change being made to a resource record (MX, CNAME, TXT, etc) on a zone.
Compare a history entry to the current state of a zone.
Returns a hashref of arrayrefs of records. Each record is complete with the addition of an extra key
action => [qw/change delete add/]
Indicating what action needs to be take to the current zone to reset it back to that point in time
zone_id | integer (RELATION_ID) ^[1-9]\d*\z Example: zone_id=54321 A valid id number (a positive integer). |
id | integer (RELATION_ID) ^[1-9]\d*\z Example: id=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 54321,
- "zone_id": 54321
}
}
{- "records": [
- {
- "action": "change",
- "adminEmail": "string",
- "created": "string",
- "exchange": "example.com",
- "expiry": 12345,
- "fullData": "string",
- "id": 80,
- "last_updated": "string",
- "minimum": 12345,
- "name": "string",
- "nameserver": "string",
- "port": 80,
- "prio": 12345,
- "rdata": "string",
- "refreshInterval": 12345,
- "regionOverrides": [
- {
- "rdata": "string",
- "region": "string",
- "region_id": 80
}
], - "retry": 12345,
- "serial": 80,
- "target": "example.com",
- "ttl": 80,
- "type": "NS",
- "weight": 12345,
- "zone_id": 80
}
]
}
Retrieve a list of zone history records, for a given zone_id.
object | |
zone_id | integer (RELATION_ID) ^[1-9]\d*\z Example: zone_id=54321 A valid id number (a positive integer). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "order_by": {
- "field": "created",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80,
- "zone_id": 54321
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "created": "string",
- "id": 54321,
- "zone_id": 54321
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Get details about the current firewall settings for a particular server. If no firewall is applied, a type of 'none' is returned. Otherwise, you get the various firewall types: 'basic', 'advanced', or 'saved', along with relevant details that apply to that firewall type. The system the firewall is setup under is also returned.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "allow": [
- "string"
], - "rules": [
- "string"
], - "ruleset": "string",
- "system": "liquidweb",
- "type": "string"
}
Returns a list of options that the basic firewall accepts.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "options": [
- "string"
]
}
Returns the rules for the given server, regardless of type. The rules are returned under the rules field, which is an array reference.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "rules": [
- "string"
], - "uniq_id": "string"
}
Updates the firewall setting for a given server. The argument should mirror the data structures returned by details, with the addition of the uniq_id field.
type | string (FIREWALL_TYPE) A valid firewall type (basic, saved, advanced, or none). |
allow | Array of strings (FIREWALL_ALLOW_LIST) An array of basic firewall options |
ruleset | string (FIREWALL_RULESET) ^[^[:cntrl:]]*$ A firewall ruleset name |
rules | Array of strings (FIREWALL_RULE_LIST) An array of firewall rules. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "allow": [
- "string"
], - "rules": [
- "string"
], - "ruleset": "string",
- "type": "string",
- "uniq_id": "string"
}
}
{- "modified": "string"
}
You can save your current firewall settings into a ruleset, which you can then apply to other servers, allowing you to give predefined roles to various servers.
This section of the API gives you access to saving and querying your
saved rulesets.
Saves the ruleset that the given server is using under the given name. The server will be set to a firewall type of 'saved', with this ruleset as its ruleset.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
name | string (FIREWALL_RULESET) ^[^[:cntrl:]]*$ A firewall ruleset name |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string",
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "destination_ips": [
- "172.0.0.1"
], - "rules": [
- "string"
], - "ruleset": "string",
- "uniq_id": "string"
}
Returns the rules and valid destinations ips for the given ruleset.
ruleset | string (FIREWALL_RULESET) ^[^[:cntrl:]]*$ A firewall ruleset name |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "ruleset": "string"
}
}
{- "accnt": 0,
- "destination_ips": [
- "172.0.0.1"
], - "rules": [
- "string"
], - "ruleset": "string",
- "subaccnts": [
- {
- "domain": "string",
- "uniq_id": "string"
}
], - "system": "liquidweb",
- "uniq_id": "string"
}
Returns an array reference of rulesets that have been saved for use by this account.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "destination_ips": [
- "172.0.0.1"
], - "rules": [
- "string"
], - "ruleset": "string",
- "subaccnts": [
- {
- "domain": "string",
- "uniq_id": "string"
}
], - "system": "liquidweb",
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Updates the saved ruleset with the given ruleset. Returns a list of affected servers.
rules | Array of strings (FIREWALL_RULE_LIST) An array of firewall rules. |
ruleset | string (FIREWALL_RULESET) ^[^[:cntrl:]]*$ A firewall ruleset name |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "rules": [
- "string"
], - "ruleset": "string"
}
}
{- "updated": [
- "string"
]
}
Add a number of IPs to an existing server. If the 'configure_ips' flag is passed in, the new IP address(es) will be configured within the servers operating system.
Each account has a per-server IP limit defined. By default, that limit is 8 IPv4 addresses and 1 IPv6 /64 per server. Any requests above that limit will fail. A customer can call in to have that limit adjusted if they have a valid use for them.
Bleed version supports Openstack servers of which are limited to a total of 5 IP addresses and can only add 1 IP address at a time. pool_ips, reboot, configure_ips, ip6_count, and pool6_ips args are not used. If passed in, they will be ignored.
configure_ips | boolean (BOOLEAN) A boolean value (0 or 1). |
pool6_ips | Array of strings (CIDRV6) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
pool_ips | Array of strings <ipv4> (IPV4) Example: pool_ips=172.0.0.1 |
ip_count | integer (NON_NEG_INT) ^\d+\z Example: ip_count=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
reboot | boolean (BOOLEAN) A boolean value (0 or 1). |
ip6_count | integer (NON_NEG_INT) ^\d+\z Example: ip6_count=12345 A non-negative integer value (i.e. 0 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "configure_ips": true,
- "ip6_count": 12345,
- "ip_count": 12345,
- "pool6_ips": [
- "string"
], - "pool_ips": [
- "172.0.0.1"
], - "reboot": true,
- "uniq_id": "string"
}
}
{- "adding": "string"
}
Gets information about a particular IP.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
ip | string (IP) A valid IP address (v4 or v6) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "ip": "string",
- "uniq_id": "string"
}
}
{- "broadcast": "172.0.0.1",
- "gateway": "string",
- "id": 80,
- "ip": "string",
- "netmask": "string",
- "network": "string"
}
Gets a paginated list of all IP assignments for a particular server. More details about the returned data can be found under network/ip/details
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
expand_ips | boolean (BOOLEAN) A boolean value (0 or 1). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "expand_ips": true,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "broadcast": "172.0.0.1",
- "gateway": "string",
- "id": 80,
- "ip": "string",
- "netmask": "string",
- "network": "string",
- "reverse_dns": "example.com"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Gets a list of public network assignments for all provisioned subaccounts for a particular account, optionally for a specific zone only. With the include_pools flag, also includes IPs assigned to IP pools.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
include_pools | boolean (BOOLEAN) A boolean value (0 or 1). |
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "include_pools": true,
- "page_num": 80,
- "page_size": 80,
- "zone_id": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "domain": "example.com",
- "ip": "string",
- "primary": true,
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Gets a paginated list of all public IPs for a particular server. More details about the returned data can be found under network/ip/details
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
(Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
expand_ips | boolean (BOOLEAN) A boolean value (0 or 1). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- [
- "string"
]
], - "expand_ips": true,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "broadcast": "172.0.0.1",
- "gateway": "string",
- "id": 80,
- "ip": "string",
- "netmask": "string",
- "network": "string",
- "reverse_dns": "example.com"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Remove a specific IP from a server. If the 'configure_ips' flag is passed in, the IP address will be de-configured within the servers operating system.
Note: At this time, it is impossible to remove the server's primary IP using the API
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
reboot | boolean (BOOLEAN) A boolean value (0 or 1). |
ip | string (MULTI_TYPE) One of [CIDRV6] or [IPV4]. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
configure_ips | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "configure_ips": true,
- "ip": "string",
- "reboot": true,
- "uniq_id": "string"
}
}
{- "removing": "string"
}
Request additional IPs for a server. Many server types (traditional dedicated for example) require manual intervention to add IPs. This method creates a ticket, requesting that the given number of IPs be added.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
usage_justification | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
ip_count | integer (POSITIVE_INT) ^[1-9]\d*\z Example: ip_count=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "ip_count": 80,
- "uniq_id": "string",
- "usage_justification": "string"
}
}
{- "adding": "string"
}
Load Balancers will spread server load among a set of servers (aka nodes). This section of the API provides access for creating, adjusting, and removing load balancers from an account.
Adds a single node to an existing loadbalancer.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
node | string <ipv4> (IPV4) Example: node=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
required | object |
{- "params": {
- "accnt": 0,
- "node": "172.0.0.1",
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Adds a service to an existing loadbalancer.
dest_port | integer (PORT_NUMBER) ^\d{1,5}\z Example: dest_port=80 A valid network port number. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
src_port | integer (PORT_NUMBER) ^\d{1,5}\z Example: src_port=80 A valid network port number. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "dest_port": 80,
- "src_port": 80,
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Find out if a loadbalancer name is already in use on an account. Allows for preventing DuplicateRecord exceptions when creating new load balancers.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string (TEXT_GENERAL) <= 60 characters A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string"
}
}
{- "available": true,
- "name": "string"
}
Create a new loadbalancer. Valid loadbalance strategies can be found using the /Network/LoadBalancer/strategies method.
session_persistence | boolean (BOOLEAN) A boolean value (0 or 1). |
services | Array of objects (LOADBALANCER_SERVICE) |
ssl_termination | boolean (BOOLEAN) A boolean value (0 or 1). |
nodes | Array of strings <ipv4> (IPV4) Example: nodes=172.0.0.1 |
ssl_includes | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
strategy | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
region | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: region=80 A positive integer value (i.e. 1 and up). |
ssl_key | string (PRIVATE_KEY) A private key, including the BEGIN PRIVATE KEY and END PRIVATE KEY comments. |
ssl_cert | string (SSL_CERT) An ssl X509 public certificate, including the BEGIN CERTIFICATE and END CERTIFICATE comments. |
name | string (TEXT_GENERAL) <= 60 characters A string permitting tabs, carriage returns and newlines |
ssl_int | string (SSL_CERT) An ssl X509 public certificate, including the BEGIN CERTIFICATE and END CERTIFICATE comments. |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string",
- "nodes": [
- "172.0.0.1"
], - "region": 80,
- "services": [
- { }
], - "session_persistence": true,
- "ssl_cert": "string",
- "ssl_includes": true,
- "ssl_int": "string",
- "ssl_key": "string",
- "ssl_termination": true,
- "strategy": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Delete a loadbalancer.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "deleted": "string"
}
Get information about a specific loadbalancer.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Gets a list of all loadbalancers on an account.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
region | integer (POSITIVE_INT) ^[1-9]\d*\z Example: region=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "region": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Gets a list of all possible Loadbalancer Nodes on an account, regardless of whether or not they are currently loadbalanced.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
region | integer (POSITIVE_INT) ^[1-9]\d*\z Example: region=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "region": 80
}
}
{- "items": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "region_id": 54321,
- "uniq_id": "string"
}
]
}
Removes a single node from an existing loadbalancer.
node | string <ipv4> (IPV4) Example: node=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "node": "172.0.0.1",
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Removes a single service from an existing loadbalancer.
src_port | integer (PORT_NUMBER) ^\d{1,5}\z Example: src_port=80 A valid network port number. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "src_port": 80,
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Get a list of available strategies, with extra descriptive information.
params required | object |
{- "params": { }
}
{- "strategies": [
- {
- "description": "string",
- "name": "string",
- "strategy": "string"
}
]
}
Update an existing loadbalancer. Valid loadbalance strategies can be found using the /Network/LoadBalancer/strategies method.
ssl_int | string (SSL_CERT) An ssl X509 public certificate, including the BEGIN CERTIFICATE and END CERTIFICATE comments. |
name | string (TEXT_GENERAL) <= 60 characters A string permitting tabs, carriage returns and newlines |
ssl_key | string (PRIVATE_KEY) A private key, including the BEGIN PRIVATE KEY and END PRIVATE KEY comments. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
ssl_cert | string (SSL_CERT) An ssl X509 public certificate, including the BEGIN CERTIFICATE and END CERTIFICATE comments. |
ssl_includes | boolean (BOOLEAN) A boolean value (0 or 1). |
strategy | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
nodes | Array of strings <ipv4> (IPV4) Example: nodes=172.0.0.1 |
ssl_termination | boolean (BOOLEAN) A boolean value (0 or 1). |
session_persistence | boolean (BOOLEAN) A boolean value (0 or 1). |
services | Array of objects (LOADBALANCER_SERVICE) |
required | object |
{- "params": {
- "accnt": 0,
- "name": "string",
- "nodes": [
- "172.0.0.1"
], - "services": [
- { }
], - "session_persistence": true,
- "ssl_cert": "string",
- "ssl_includes": true,
- "ssl_int": "string",
- "ssl_key": "string",
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string"
}
}
{- "capabilities": { },
- "cycle": "string",
- "name": "string",
- "nodes": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "project_name": "string",
- "region_id": 54321,
- "services": [
- {
- "dest_port": 80,
- "health_check": {
- "failure_threshold": 80,
- "http_body_match": "string",
- "http_path": "string",
- "http_response_codes": "string",
- "http_use_tls": true,
- "interval": 80,
- "protocol": "string",
- "timeout": 80
}, - "protocol": "string",
- "src_port": 80
}
], - "session_persistence": true,
- "ssl_includes": true,
- "ssl_termination": true,
- "strategy": "string",
- "uniq_id": "string",
- "vip": "172.0.0.1"
}
Create a new IP Pool
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
new_ips | integer (NON_NEG_INT) ^\d+\z Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
add_ips | Array of strings (MULTI_TYPE) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "add_ips": [
- "string"
], - "new_ips": 12345,
- "zone_id": 80
}
}
{- "accnt": 0,
- "assignments": [
- {
- "begin_range": "string",
- "broadcast": "string",
- "end_range": "string",
- "gateway": "string",
- "id": 80,
- "netmask": "string",
- "network": "string",
- "primary": true,
- "zone_id": 80
}
], - "id": 80,
- "uniq_id": "string",
- "zone_id": 80
}
Deletes the given pool, and all the assignments that are only in the pool.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "deleted": 80
}
Returns the details of a given IP pool.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
free_only | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (POSITIVE_INT) ^[1-9]\d*\z Example: subaccnt=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "free_only": true,
- "id": 80,
- "subaccnt": 80,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "assignments": [
- {
- "begin_range": "string",
- "broadcast": "string",
- "end_range": "string",
- "gateway": "string",
- "id": 80,
- "netmask": "string",
- "network": "string",
- "primary": true,
- "zone_id": 80
}
], - "id": 80,
- "uniq_id": "string",
- "zone_id": 80
}
Gets a list of network assignments for a particular IP Pool.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "page_num": 80,
- "page_size": 80,
- "zone_id": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "id": 80,
- "zone_id": 80
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Update an existing IP Pool
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
remove_ips | Array of strings (MULTI_TYPE) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
new_ips | integer (NON_NEG_INT) ^\d+\z Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
add_ips | Array of strings (MULTI_TYPE) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (POSITIVE_INT) ^[1-9]\d*\z Example: subaccnt=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "add_ips": [
- "string"
], - "id": 80,
- "new_ips": 12345,
- "remove_ips": [
- "string"
], - "subaccnt": 80,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "assignments": [
- {
- "begin_range": "string",
- "broadcast": "string",
- "end_range": "string",
- "gateway": "string",
- "id": 80,
- "netmask": "string",
- "network": "string",
- "primary": true,
- "zone_id": 80
}
], - "id": 80,
- "uniq_id": "string",
- "zone_id": 80
}
Private networking provides the option for several Storm servers to contact each other via a network interface that is a) not publicly routeable and b) not metered for bandwidth. Applications that communicate internally will frequently use this for both security and cost-savings.
This section of the API provides methods for attaching and detaching a
server to a private network, and for querying information about an
existing private network.
Attach a given server to your private network.
Note: This will automatically create the private network, if it is not already created.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "attached": "string"
}
detach | Array of strings (SUBACCNT_UNIQ_ID) |
attach | Array of strings (SUBACCNT_UNIQ_ID) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "attach": [
- "string"
], - "detach": [
- "string"
]
}
}
{- "success": true
}
Detaches a given server to your private network.
Note: if this is the last server on your private network, the private vlan will be destroyed, so you will not be guaranteed the same private vlan id, should you re-enable private networking later.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "detached": "string"
}
Gets all of the servers attached to your private network, which zones they are in, and what IPs they are assigned.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
zone_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone_id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "zone_id": 80
}
}
{- "zones": [
- {
- "attached": [
- {
- "domain": "example.com",
- "ip": "172.0.0.1",
- "uniq_id": "string"
}
], - "id": 80,
- "name": "string",
- "region": {
- "id": 80,
- "name": "string"
}, - "type": "string",
- "unattached": [
- {
- "domain": "example.com",
- "uniq_id": "string"
}
]
}
]
}
Gets the current private IP for a particular server, if it has one.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "ip": "string",
- "legacy": true,
- "uniq_id": "string"
}
Determine whether a given server is currently attached to your private network.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "is_attached": true
}
When storm servers are created, we generate an SSH key that we can use to access their server. This section of the api allows access to that information.
Gets an ssh key for accessing an server.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "sshkey": "string"
}
Resolves the domain to it's given IP.
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "domain": "example.com"
}
}
{- "ips": [
- "string"
]
}
Sometimes we want to notify the user about a particular incident, such as service monitoring alerts, load monitoring alerts, background process progress, etc. This section of the API gives access to those alerts.
Get a list of all notifications for an account or server. More information about the data structure can be found in the storm/alerts/details method.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
system | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
category | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
resolved | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "category": "string",
- "page_num": 80,
- "page_size": 80,
- "resolved": true,
- "system": "string",
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Get a list of unresolved notifications for an account or server. More information about the data structure can be found in the storm/alerts/details method.
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
system | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
severity | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
category | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
required | object |
{- "params": {
- "accnt": 0,
- "category": "string",
- "page_num": 80,
- "page_size": 80,
- "severity": "string",
- "system": "string",
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Gets information about a specific notification, including a history of all the alerts related to that notification. You can limit the number of historical alerts by specifying a 'limit'.
Here's a rundown of what those fields mean:
accnt: your account number
category: the category of alert, if any. Examples are (list likely to grow):
Provisioning - an alert from our provisioning system, which handles long-
running background processes like creating servers, rebooting, etc
Monitoring:* - our service monitoring system creates alerts in various
categories based on which server was having issues. Monitoring: host
indicates that the primary service on the server was having issues.
Other examples are Monitoring: http, Monitoring: mysql, etc.
Bandwidth Overage Warning - you have exceeded or are within a certain
percentage of your bandwidth quota on a server
description: the original description of the alert
enddate: the date and time the alert was closed, if it is closed
id: the id for this alert
modifieddate: the date and time the alert was last updated
severity: the class of alert
Notification: this alert is just to let you know that something has
happened or is happening.
Warning: indicates that something may be wrong, but is not yet serious.
Error: something is wrong, like a service is not responding at all.
Critical: something is seriously wrong and requires user acknowledgement
to be closed. Failed background processes from the provisioning system
are the primary example here.
system: the system reporting the alert
Provisioning: alerts from our provisioning system, which handle
long-running background tasks, like building servers, rebooting, etc
Service Monitoring: alerts from our service monitoring system
Storm: alerts related to Storm downtime or maintenance
Billing: alerts from our billing system. Things like bandwidth overage
notifications.
system_indentifier: some of the systems maintain their own unique identifiers
for each ongoing alert. This is that identifier, if it exists.
uniq_id: the unique server identifier, made of 6 letters and numbers
alerts: if an alert is repeated or has progress updates, each individual
alert is kept and returns as a list here. Other methods like list and open
do not return this bit of information
system_identifier | integer (NON_NEG_INT) ^\d+\z Example: system_identifier=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
system | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
limit | integer (NON_NEG_INT) ^\d+\z Example: limit=12345 A non-negative integer value (i.e. 0 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "limit": 12345,
- "system": "string",
- "system_identifier": 12345
}
}
{- "alerts": [
- {
- "alertdate": "string",
- "description": "string",
- "id": 54321
}
], - "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
Resolve an existing open notification. It will be marked as 'resolved' and no longer be returned by the 'current' method.
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
system | string (LAXWORDS) ^[\w -]*\z A string consisting of only letters, digits, hyphens, spaces, and underscores. |
system_identifier | integer (NON_NEG_INT) ^\d+\z Example: system_identifier=12345 A non-negative integer value (i.e. 0 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "system": "string",
- "system_identifier": 12345
}
}
{- "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
Creates a one time secret
duration | integer (POSITIVE_INT) ^[1-9]\d*\z Example: duration=80 Desired duration of time before the secret expires (in seconds). |
expiration | string (DATETIME) A valid date and time in YYYY-MM-DD HH:MM:SS format, or a DateTime object. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
secret | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "duration": 80,
- "expiration": "string",
- "secret": "string"
}
}
{- "accnt": 0,
- "expiration": "string",
- "expired": true,
- "id": 54321,
- "label": 80
}
Returns details for all active secrets for a given accnt
alsowith | Array of any Items Value: "secretLogs" |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
object | |
expired | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "secretLogs"
], - "expired": true,
- "order_by": {
- "field": "id",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "expiration": "string",
- "expired": true,
- "id": 80,
- "label": 80
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Returns the decoded secret, which results in the secret being removed from the DB
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80
}
}
{- "secret": "string"
}
This section contains some basic methods for getting lists of products, and details, prices of products.
Returns information about a product's pricing and options.
The product code for a specific server or service on an account can be found with the Server/Details method, under the 'type' field, and a list of valid product codes can be obtained via the Product/List method.
alias | string (PRODUCT_ALIAS) ^[-a-z0-9._/]{1,100}\z A string containing only lowercase letters, numbers, periods, hyphens, underscores, and slashes up to 100 max. |
include_pov_tags | boolean (BOOLEAN) A boolean value (0 or 1). |
available_only | boolean (BOOLEAN) A boolean value (0 or 1). |
code | string (PRODUCT_CODE) ^[A-Za-z0-9._]{3,}\z A valid product code, at least 3 chars long, including at least one letter. |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. |
required | object |
{- "params": {
- "alias": "string",
- "alsowith": [
- "string"
], - "available_only": true,
- "code": "string",
- "include_pov_tags": true
}
}
{- "alias": "string",
- "ancestorCode": "string",
- "capabilities": { },
- "categories": [
- "string"
], - "code": "string",
- "credit_eligible": true,
- "cycle": "string",
- "default_price": 0.99,
- "description": "string",
- "discountable": true,
- "features": [
- "string"
], - "option_value_features": { },
- "options": [
- {
- "automated": true,
- "display_order": 12345,
- "display_text": "string",
- "key": "string",
- "option_key_id": 12345,
- "public": true,
- "required": true,
- "values": [
- { }
]
}
], - "parent_product": { },
- "pov_tags": [
- "string"
], - "prices": { },
- "purchaseQuantityLimit": 80,
- "related_product": { },
- "series": [
- "string"
], - "sub_title": "string",
- "subdomain": "string",
- "tax_code": "string",
- "title": "string"
}
Returns all the necessary product data in a flat structure. If called by a user associated to an account, 'extra_data' will be included to provide account specific data.
By default, data returned will be reduced, in that keys/value pairs of which the value is null or empty (e.g. {} or []), the key/value pair is deleted from the returned data.
Optional parameter 'price_time_unit_override' will re-calculate prices to the specified override price time unit unless the price time unit is 'nontemporal' or 'deferred' or 'one-time'.
product_code | string (PRODUCT_CODE) ^[A-Za-z0-9._]{3,}\z A valid product code, at least 3 chars long, including at least one letter. |
reduce_data | boolean (BOOLEAN) Default: 1 A boolean value (0 or 1). |
price_time_unit_override | any Enum: "hour" "month" "quarter" "semiannual" "year" |
required | object |
{- "params": {
- "price_time_unit_override": "hour",
- "product_code": "string",
- "reduce_data": 1
}
}
{- "active": true,
- "categories": [
- "string"
], - "credit_eligible": true,
- "description": "string",
- "discountable": true,
- "flat_options": [
- {
- "description": "string",
- "display_order": 12345,
- "group": "string",
- "group_display_order": "string",
- "key": "string",
- "parent_key": "string",
- "parent_ptok_id": 54321,
- "parent_ptov_id": 54321,
- "parent_value": "string",
- "ptok_id": 54321,
- "ptov_product_code": "string",
- "public": true,
- "required": true,
- "values": [
- {
- "active": true,
- "comments": "string",
- "description": "string",
- "display_order": 12345,
- "num_units": 12345,
- "num_units_locked": true,
- "num_units_max": 12345,
- "num_units_min": 12345,
- "num_units_num_set": [
- "string"
], - "num_units_type": "string",
- "price_time_unit": "string",
- "ptov_acls": {
- "forbids": [
- "string"
], - "is_forbidden_by": [
- "string"
], - "is_required_by": [
- "string"
], - "requires": [
- "string"
]
}, - "ptov_id": 54321,
- "public": true,
- "region_id_defaults": { },
- "region_id_prices": { },
- "tags": [
- "string"
], - "value": "string"
}
]
}
], - "marketplace_active": true,
- "marketplace_description": "string",
- "marketplace_display_order": 12345,
- "marketplace_public": true,
- "parent_product_id": 80,
- "prepay_settings": { },
- "price_time_unit": "string",
- "primary_category": "string",
- "product_code": "string",
- "product_id": 54321,
- "public": true,
- "region_id_prices": { },
- "related_product_id": 80,
- "series_description": "string",
- "series_display_order": 80,
- "series_entry_display_order": 80,
- "sub_title": "string",
- "tags": [
- "string"
], - "title": "string"
}
Returns production information for all products, or products in a series or category depending on the arguments passed. Only returns products available to the account.
Array of MULTI_TYPE (strings) or WORD (string) (MULTI_TYPE) One of [ARRAY[WORD]] or [WORD]. | |
WORD (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [WORD] or [ARRAY[WORD]]. | |
series | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
Array of MULTI_TYPE (strings) or WORD (string) (MULTI_TYPE) One of [ARRAY[WORD]] or [WORD]. | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
category | string (WORD) ^(?i)[a-z0-9]*\z A single word, consisting of only letters and digits. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
WORD_ (string) or (Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. |
required | object |
{- "params": {
- "alsowith": "string",
- "cart_category": "string",
- "cart_plan": [
- "string"
], - "cart_series": [
- "string"
], - "category": "string",
- "page_num": 80,
- "page_size": 80,
- "series": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "alias": "string",
- "code": "string",
- "credit_eligible": true,
- "cycle": "string",
- "default_price": 0.99,
- "description": "string",
- "discountable": true,
- "sub_title": "string",
- "subdomain": "string",
- "tax_code": "string",
- "title": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Add to an existing project.
cluster | boolean (BOOLEAN) A boolean value (0 or 1). |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
assets | Array of strings (SUBACCNT_UNIQ_ID) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "assets": [
- "string"
], - "cluster": true,
- "id": 80,
- "project_name": "string"
}
}
{- "added": true
}
Check to see if a project name is available.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
required | object |
{- "params": {
- "accnt": 0,
- "project_name": "string"
}
}
{- "available": true
}
Returns a list of assets that could potentially be added to the given project, grouped by category
category | any Enum: "servers" "domains" "services" |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "category": "servers",
- "id": 80,
- "project_name": "string"
}
}
{- "assets": [
- { }
]
}
Lists project categories.
params required | object |
{- "params": { }
}
{- "categories": [
- "string"
]
}
Create a new project.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
assets | Array of strings (SUBACCNT_UNIQ_ID) |
cluster | boolean (BOOLEAN) A boolean value (0 or 1). |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
required | object |
{- "params": {
- "accnt": 0,
- "assets": [
- "string"
], - "cluster": true,
- "project_name": "string"
}
}
{- "accnt": 0,
- "id": 80,
- "project_name": "string"
}
Delete an existing project.
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "project_name": "string"
}
}
{- "deleted": true
}
Show the details of one specific project
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "project_name": "string"
}
}
{- "domains": [
- {
- "dns": {
- "uniq_id": "string"
}, - "dreg": {
- "autorenew": true,
- "expiration": "string",
- "redemption": true,
- "renewable": true,
- "uniq_id": "string"
}, - "ssl": {
- "autorenew": true,
- "expiration": "string",
- "renewable": true,
- "type": "DV",
- "uniq_id": "string"
}
}
], - "project_id": 54321,
- "project_name": "string",
- "servers": [
- { }
], - "services": [
- { }
]
}
Returns a paginated list of projects and related assets
object | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "order_by": {
- "field": "project_name",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "domains": [
- {
- "dns": {
- "uniq_id": "string"
}, - "dreg": {
- "autorenew": true,
- "expiration": "string",
- "redemption": true,
- "renewable": true,
- "uniq_id": "string"
}, - "ssl": {
- "autorenew": true,
- "expiration": "string",
- "renewable": true,
- "type": "DV",
- "uniq_id": "string"
}
}
], - "project_id": 54321,
- "project_name": "string",
- "servers": [
- { }
], - "services": [
- { }
]
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Remove an asset or assets from a project.
assets | Array of strings (SUBACCNT_UNIQ_ID) |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
required | object |
{- "params": {
- "accnt": 0,
- "assets": [
- "string"
], - "id": 80,
- "project_name": "string"
}
}
{- "removed": true
}
Rename a given project
project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: id=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
new_project_name | string (LAXERWORDS) ^[ \w.,':&/-]*\z A string consisting of only the following permissible characters: space, letters, digits, hyphen, comma, period, apostrophe, underscore, colon, ampersand, slash. |
required | object |
{- "params": {
- "accnt": 0,
- "id": 80,
- "new_project_name": "string",
- "project_name": "string"
}
}
{- "accnt": 0,
- "id": 80,
- "project_name": "string"
}
An SSL certificate allows for users to securely send information to a web service. In order for a certificate to be generally trusted, it needs to be signed by a trusted agent known as a certificate authority. The methods discussed in this document facilitate the process of ordering and managing certificates. The following directions will describe the process of ordering a new certificate via this API.
The first optional step is to call extractCSRDetails. It accepts a
single argument of a CSR. This method will determine if the CSR is for
a wildcard certificate, contact information in the CSR as well as if
the 'auto' verification method is available for this certificate. Auto
verification streamlines the verification process. This verification
method is only available if the domain for which the CSR is made has
DNS delegation to our name servers and if that domain's DNS zone is
listed under your account.
Next, the order method should be called to start the order process. The
return structure will have the details needed to call the verify
method. For example, if you chose the metatag verification method, you
would see a return structure like the following where html_meta_tag is
the meta tag which must be inserted into the head of the root html
document at one of the domains listed in the URLs array, and the
uniq_id is the identifier for the CSR:
{
...
uniq_id => ssl_uniq_id,
verification_data => {
...
MetaTag => html_meta_tag,
URLs => [acceptable_domain, ...]
},
...
}
Once the order call returns, the verify method may be called for the
new SSL order. This call requires the uniq_id of the CSR to be given
(this would have been returned by the order method), and one of email,
name, or URL depending on the desired verification method.
An extra step for email verification is to call confirmVerified which
will refresh the cache on the SSL order details and return the new set
of details including the certificate if email verification succeeded.
cancelOrder is a method used in the case you decide to cancel your certificate order.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "cancelled": "string"
}
Enables or disables auto-renewal for the specified SSL certificate.
auto_renew | any Enum: "On" "Off" |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "auto_renew": "On",
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
verification_method | any Enum: "dns" "metatag" |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string",
- "verification_method": "dns"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
Refreshes the certificate data cache in the case of email authentication.
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
Retrieves the details of a particular SSL associated with the account.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
(Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) or WORD_ (string) (MULTI_TYPE) One of [ARRAY[WORD_|ARRAY]] or [WORD_]. | |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (POSITIVE_INT) ^[1-9]\d*\z Example: subaccnt=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": [
- "string"
], - "domain": "example.com",
- "subaccnt": 80,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
This method examines a given CSR and checks to see if it is for a wildcard domain and if auto verification is a viable option.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
csr | string (SSL_CSR) An ssl certificate signing request, including the BEGIN CERTIFICATE REQUEST and END CERTIFICATE REQUEST comments. |
required | object |
{- "params": {
- "accnt": 0,
- "csr": "string"
}
}
{- "autoVerifyCapable": true,
- "city": "string",
- "commonName": "string",
- "country": "string",
- "emailAddress": "string",
- "invalidFields": [
- {
- "field": "string",
- "message": "string"
}
], - "organization": "string",
- "organizationalUnit": "string",
- "san": [
- "string"
], - "state": "string",
- "wildcard": true
}
The generate method is used to trgger generation of a new ssl certificate. This process is only valid if the given server uniq_id is a whm enabled server.
This process will take the provided information, and generate an ssl certificate on your server using the information. If the auto verification option is available, it will then proceed to carry out the verification process for the certificate, and then install it on your server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
state | string (STATE) ^(?i)[\pN\pL.,'/()<>_ -]{2,80}\z A valid state or province. |
keysize | any Default: 4096 Enum: 512 1024 2048 4096 |
organization | string (ORGNAME) ^(?i)[\P{IsC}]{2,100}\z A valid company name, up to 100 characters in length. |
city | string (CITY) ^(?i)[\P{IsC}]{2,80}\z A valid city name. |
autorenew | boolean (BOOLEAN) A boolean value (0 or 1). |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
country | string (COUNTRY_CODE_SPECIFIC) A valid ISO country code. |
verification_method | any Enum: "dns" "metatag" "auto" |
wildcard | boolean (BOOLEAN) A boolean value (0 or 1). |
commonName | string <hostname> (DOMAIN_FULL) Example: commonName=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
organizationalUnit | string (NAME) ^(?i)[\P{IsC}]{1,100}\z A valid name, up to 100 characters in length. |
emailAddress | string <email> (EMAIL_ADDR) Example: emailAddress=user@example.com A valid email address. |
duration | any Default: 1 Enum: 1 2 3 |
required | object |
{- "params": {
- "accnt": 0,
- "autorenew": true,
- "city": "string",
- "commonName": "example.com",
- "country": "string",
- "duration": 1,
- "emailAddress": "user@example.com",
- "keysize": 512,
- "organization": "string",
- "organizationalUnit": "string",
- "state": "string",
- "subaccnt": 54321,
- "uniq_id": "string",
- "verification_method": "dns",
- "wildcard": true
}
}
{- "generating": "string"
}
Returns a list of servers which are candidates for automatic SSL certificate generation and installation. Will return details on if the servers which are candidates support the needed functionality.
params required | object |
{- "params": { }
}
{- "DYNAMIC[HOSTNAME]": {
- "automatic": true,
- "cpCredentials": true,
- "sniEnabled": true,
- "uniq_id": "string"
}
}
This method returns a count of how many certificates have been ordered in the billing cycle and how many are allowed to be ordered (there is a limit if they are a reseller).
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "current": 80,
- "limit": 80,
- "limit_reached": true
}
Lists the SSL orders associated with the account.
renewable | boolean (BOOLEAN) A boolean value (0 or 1). |
verification_status | any Enum: "Pending" "Attempted" "Delayed" "Failed" "Verified" |
wildcard | boolean (BOOLEAN) A boolean value (0 or 1). |
verification_method | any Enum: "email" "dns" "metatag" |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
WORD_ (string) or (Array of MULTI_TYPE (WORD_ (string) or Array of ARRAY (strings))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
object | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
domain | string <hostname> (DOMAIN_ANY) Example: domain=example.com A hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "domain": "example.com",
- "order_by": {
- "field": "domain",
- "sort": "asc"
}, - "page_num": 80,
- "page_size": 80,
- "renewable": true,
- "verification_method": "email",
- "verification_status": "Pending",
- "wildcard": true
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Begins the order process.
Note: auto verification involves adding a TXT record to the DNS zone which has authority over the domain specified in the CSR. In order for this option to be available, the domain's delegation must specify our DNS servers as having authority over it and the DNS zone must exist in your account.
csr | string (SSL_CSR) An ssl certificate signing request, including the BEGIN CERTIFICATE REQUEST and END CERTIFICATE REQUEST comments. |
verification_method | any Enum: "auto" "dns" "metatag" |
duration | any Default: 1 Enum: 1 2 3 |
domain | string (MULTI_TYPE) One of [DOMAIN_FULL] or [RR_WILDCARD]. |
autorenew | boolean (BOOLEAN) A boolean value (0 or 1). |
required | object |
{- "params": {
- "autorenew": true,
- "csr": "string",
- "domain": "string",
- "duration": 1,
- "verification_method": "auto"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "warning": "string",
- "wildcard": true
}
Renew allows for renewing a certificate for a certain period of time. Calling this method will require an iteration of the verification process again.
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
duration | any Default: 1 Enum: 1 2 3 |
required | object |
{- "params": {
- "accnt": 0,
- "duration": 1,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
Given a server that we will be generating a CSR on, and a domain that the certificate will be for, return the list of valid certificate verification methods.
This is accomplished primarily by identifying if the dns for the domain is hosted on LiquidWeb nameservers, or if the nameservers for the domain reside on the server we're generating the csr on to determine the validity of the automatic verification method.
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "verification_methods": [
- "dns"
]
}
Performs the verification check. Depending on the verification method specified in the order method, a particular argument will need to be given to the verify method.
Verification Method | argument | value
===============================================================================
dns | name | One of the approved domains to check its DNS
| | TXT record
--------------------+----------+-----------------------------------------------
metatag | url | URL to the root of one of the approved domains
Note: If the verification method was email, an additional call to confirmVerified is needed to refresh the data cache.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
name | string <hostname> (DOMAIN_FULL) Example: name=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
Array of MULTI_TYPE (strings) or URI_HTTP (string) (MULTI_TYPE) One of [ARRAY[URI_HTTP]] or [URI_HTTP]. | |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
required | object |
{- "params": {
- "accnt": 0,
- "name": "example.com",
- "subaccnt": 54321,
- "uniq_id": "string",
}
}
{- "accnt": 0,
- "autorenew_value": "On",
- "certificate": {
- "ca_bundle": {
- "intermediate": "string",
- "root": "string"
}, - "certificates": {
- "PKCS7Cert": "string",
- "X509Cert": "string"
}
}, - "created": "string",
- "csr": "string",
- "domain": "example.com",
- "duration": 12,
- "expiration": "string",
- "id": 80,
- "notified": true,
- "order_id": "string",
- "renewable": true,
- "uniq_id": "string",
- "verification_data": {
- "MetaTag": "string",
- "URLs": [
- "example.com"
], - "approverEmails": [
- "user@example.com"
], - "attemptedDomain": "example.com",
- "attemptedEmail": "user@example.com",
- "names": [
- "example.com"
], - "rdata": "string"
}, - "verification_method": "email",
- "verification_status": "Pending",
- "verify_urls": [
- "string"
], - "wildcard": true
}
This section of the API handles provisioning, destroying, resizing, cloning, etc. Basically anything to do with managing a server is here.
Many of the methods here will fire off long-running processes that run
in the background and can be polled for status information.
Checks if a given domain is free. Will return an adjusted domain name
If given an account and there was a conflict with another domain on your account. For example, if you have a server called 'host.domain.com', and ask if 'host.domain.com' is available, 'host2.domain.com' will be returned as the available domain.
If the domain is entirely unavailable, an exception of type 'LW::Exception::Resource::Unavailable' will be returned.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com"
}
}
{- "domain": "example.com"
}
Clone a server. Returns the information about the newly created clone.
All of the optional fields are defaulted to the values on the original server if they aren't received. For cloning to a private parent, include the uniq_id of the parent server to be cloned to, along with the memory/diskspace/vcpu amounts (if different from the original).
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
pool_ips | Array of strings <ipv4> (IPV4) Example: pool_ips=172.0.0.1 |
config_id | integer (NON_NEG_INT) ^\d+\z Example: config_id=12345 A non-negative integer value (i.e. 0 and up). |
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
new_ips | integer (NON_NEG_INT) ^\d+\z Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
pool6_ips | Array of strings (CIDRV6) |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
password | string (STORM_INSTANCE_PASSWORD) ^[a-zA-Z0-9~!\@#\$%^&*_+=`|\\(){}\[\]:;<>,.?/... A password of at least 7 characters and up to 30 characters in length, containing no spaces. Must contain 3 of the 4 following classes: lowercase, uppercase, numbers and punctuation. |
new_ip6s | integer (NON_NEG_INT) ^\d+\z Example: new_ip6s=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "config_id": 12345,
- "diskspace": 80,
- "domain": "example.com",
- "memory": 80,
- "new_ip6s": 12345,
- "new_ips": 12345,
- "parent": "string",
- "password": "string",
- "pool6_ips": [
- "string"
], - "pool_ips": [
- "172.0.0.1"
], - "uniq_id": "string",
- "vcpu": 80,
- "zone": 80
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "hostname": "example.com",
- "ip": "172.0.0.1",
- "port": 80
}
Provision a new server. This fires off the build process, which does the actual provisioning of a new server on its parent. Each server consists of several distinct options:
type: the product code for the provisioned server to create.
features: an associative array of product features, specifying extra
configuration options for the server. The keys and values for this allow
specifying features such as MsSQL and AntiVirus service on Windows systems,
and can be determined by calling the product/details method for the product
code of the server, and examining the 'options' array. In general, these
settings are not necessary on Linux systems, and are only necessary on
servers with a Windows operating system.
image_id: rather than provisioning a LiquidWeb template, you can specify
the id of a user-created image on your account. Use the API method
storm/image/list to find any existing images you have or storm/image/create
to create a new image from an existing server
new_ips: the number of IPs you wish the server to have. This defaults to
1 IP, which is included in the base price. Pricing for additional IPs can
be found using the product/details API method for the product type in
question, under 'options', specified as 'ExtraIp'
new_ip6s: the number of IPv6 /64s you wish the server to have. By default,
you are limited to a maximum of 1.
pool_ips: an optional array of IPv4 ips to be assigned to the server from
the ip pool.
pool6_ips: an optional array of IPv6 /64s to be assigned to the server from
the ip pool.
bandwidth_quota: the bandwidth plan you wish to use. A quota of 0 indicates
that you want as-you-go, usage-based bandwidth charges. The remaining
available quota options can be found with the product/details API method.
backup_enabled: whether or not backups should be enabled. Defaults to no.
If this is not set to 1, neither of the following two options will be used.
backup_plan: either 'quota' or 'daily', depending on whether you are
choosing a quota-based backup plan or just a specific number of days to be
backed up.
backup_quota: for a 'daily' plan, this indicates the number of days to back
up. For a quota plan, this is the total number of GB to keep. Available
options are found with the product/details API method.
public_ssh_key: optional public ssh key you want added to authorized_keys
on your new server. This should be a valid public ssh key, e.g. the contents
of your id_rsa.pub file.
zone: the numerical id for the zone you wish to deploy the server in.
See network/zone/list for available zones.
Beyond those options, we need the hostname of the server ('domain') and the root password you would like set on the server originally ('password').
More information about the returned data structure are found in the documenation for the server/details method.
pool_ips | Array of strings <ipv4> (IPV4) Example: pool_ips=172.0.0.1 |
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
new_ips | integer (NON_NEG_INT) ^\d+\z Example: new_ips=12345 A non-negative integer value (i.e. 0 and up). |
pool6_ips | Array of strings (CIDRV6) |
public_ssh_key | string (MULTI_TYPE) One of [SSH_KEY_PUBLIC] or [WORD_]. |
new_ip6s | integer (NON_NEG_INT) ^\d+\z Example: new_ip6s=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
image_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: image_id=80 A positive integer value (i.e. 1 and up). |
type | string (ACCOUNT_TYPE) ^[A-Za-z0-9.]{3,}\z A valid subaccnt type descriptor (i.e. DS.W1, GUARD, etc), at least 3 chars long. |
features | object (HASH) Example: An associative array of arbitrary keys and values. |
backup_id | integer (POSITIVE_INT) ^[1-9]\d*\z Example: backup_id=80 A positive integer value (i.e. 1 and up). |
password | string (STORM_INSTANCE_PASSWORD) ^[a-zA-Z0-9~!\@#\$%^&*_+=`|\\(){}\[\]:;<>,.?/... A password of at least 7 characters and up to 30 characters in length, containing no spaces. Must contain 3 of the 4 following classes: lowercase, uppercase, numbers and punctuation. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "backup_id": 80,
- "diskspace": 80,
- "domain": "example.com",
- "features": { },
- "image_id": 80,
- "memory": 80,
- "new_ip6s": 12345,
- "new_ips": 12345,
- "parent": "string",
- "password": "string",
- "pool6_ips": [
- "string"
], - "pool_ips": [
- "172.0.0.1"
], - "public_ssh_key": "string",
- "type": "string",
- "vcpu": 80,
- "zone": 80
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
Kills a server. It will refund for any remaining time that has been prepaid, charge any outstanding bandwidth charges, and then start the workflow to tear down the server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
cancellation_comment | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
cancellation_reason | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "cancellation_comment": "string",
- "cancellation_reason": "string",
- "uniq_id": "string"
}
}
{- "destroyed": "string"
}
Gets data relevant to a provisioned server.
Here's a rundown of what the returned fields mean:
active: a flag indicating whether or not the server has finished building
backup_enabled: whether or not backups are enabled
backup_plan: either 'quota' or 'daily', depending on which backup plan you
have enabled. If backups are not enabled, this field is empty.
backup_quota: for a 'daily' plan, this indicates the number of days backed
up. For a quota plan, this is the total number of GB of backups kept for
this server. If backups are not enabled, this field is empty.
backup_size: the number of GB your current backups are using
bandwidth_quota: the number of GB of bandwidth included in your bill.
O indicates as-you-go usage-based bandwidth.
capabilities: a list of capabilities the server has
config_id: the id of the server configuration this server is using
config_description: a more descriptive name for the server configuration
assigned to this server. 'Storm 2GB', for example.
create_date: the date and time when the server was created
features: a list of features the server is configured with
ip: the primary IP of the server
ip_count: the number of IPs the server has assigned to it
manage_level: 'self', 'core', or 'full', determined by which template you
chose when creating the server
self: Includes support for hardware, network and virtualization layers.
core: Includes complete support of the base operating system as well as
Apache, Mysql and PHP. Proactive service restoration is provided.
full: Includes cPanel + Fantastico as well complete support of base
operating system and all cPanel services. Proactive service restoration
is provided.
template: which OS image you have installed. Even when you create a server
from an image, the original OS image is returned here.
template_description: a more informative description of the OS you are using
on this server. 'CentOS 5.5 64bit Core-Managed', for example.
uniq_id: the unique server identifier, made of 6 letters and numbers
zone: the zone in which your server resides. This is not yet useful, but is
still provided as reference. The zone identifiers may change.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
Get a list of notifications for a specific server. Information about the data returned can here be found in storm/alerts/details
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "category": "string",
- "description": "string",
- "domain": "example.com",
- "enddate": "string",
- "id": 80,
- "last_alert": "string",
- "modifieddate": "string",
- "resolved": true,
- "severity": "string",
- "startdate": "string",
- "system": "string",
- "system_identifier": 80,
- "uniq_id": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Get a list of servers, services, and devices on your account. A more detailed description of what is returned can be found in the documentation for the server/details method.
Valid options for category include:
Dedicated -- This includes dedicated and virtual servers as well as special dedicated items VirtualDedicated -- Legacy vps and provisioned servers StrictDedicated -- Dedicated servers SpecialDedicated -- This list includes network devices and load balancers Provisioned -- Products which are subject to automated provisioning, such as Storm LoadBalancer -- A hardware or software load balancer ObjectStorage -- An object storage account. SBS -- Products backed by our Storm Block Storage technology
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
exclude_default_alsowiths | boolean (BOOLEAN) A boolean value (0 or 1). |
type | string (ACCOUNT_TYPE) ^[A-Za-z0-9.]{3,}\z A valid subaccnt type descriptor (i.e. DS.W1, GUARD, etc), at least 3 chars long. |
WORD_ (string) or (Array of MULTI_TYPE (Array of ARRAY (strings) or WORD_ (string))) (MULTI_TYPE) One of [WORD_] or [ARRAY[WORD_|ARRAY]]. | |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
Array of MULTI_TYPE (strings) or WORD (string) (MULTI_TYPE) One of [ARRAY[WORD]] or [WORD]. |
required | object |
{- "params": {
- "accnt": 0,
- "alsowith": "string",
- "category": [
- "string"
], - "domain": "string",
- "exclude_default_alsowiths": true,
- "page_num": 80,
- "page_size": 80,
- "parent": "string",
- "type": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Reboot a server. The 'force' flag will do a hard shutdown/boot of the server from the parent server.
If the server in question does not support automatic rebooting, a reboot request will be created as a support ticket.
force | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "uniq_id": "string"
}
}
{- "rebooted": "string",
- "requested": "string"
}
Resize a server to a new configuration. Available config_ids can be found in storm/config/list
You will be billed for the prorated difference of the price of the new configuration compared to the price of your old configuration. The difference will be refunded or charged at your next billing date.
When resizing to a larger configuration, the filesystem resize operation can be skipped by passing the 'skip_fs_resize' option. In this case, the storage associated with the new configuration is allocated, but not available immediately. The filesystem resize should be scheduled with the support team.
Skipping the filesystem resize is only possible when moving to a larger configuration. This option has no effect if moving to the same or smaller configuration.
skip_fs_resize | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
memory | integer (POSITIVE_INT) ^[1-9]\d*\z Example: memory=80 A positive integer value (i.e. 1 and up). |
PRODUCT_CODE (string) or KEYWORD (string) or NON_NEG_INT (integer) (MULTI_TYPE) One of [PRODUCT_CODE] or [KEYWORD] or [NON_NEG_INT]. | |
diskspace | integer (POSITIVE_INT) ^[1-9]\d*\z Example: diskspace=80 A positive integer value (i.e. 1 and up). |
vcpu | integer (POSITIVE_INT) ^[1-9]\d*\z Example: vcpu=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
parent | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "diskspace": 80,
- "memory": 80,
- "newsize": "string",
- "parent": "string",
- "skip_fs_resize": true,
- "uniq_id": "string",
- "vcpu": 80
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
Resizes the volume of a server. Only used for specific types of products where the drive size is fully separated from cpu/ram. For example, products that operate on OpenStack would use this method to resize volumes.
Volumes can only be increased in size and CANNOT be made smaller.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
size | integer (NON_NEG_INT) ^\d+\z Example: size=12345 A non-negative integer value (i.e. 0 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "size": 12345,
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
Stop a server. The 'force' flag will do a hard stop of the server from the parent server. Otherwise, it will issue a halt command to the server and shutdown normally.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
force | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "force": true,
- "uniq_id": "string"
}
}
{- "shutdown": "string"
}
Boot a server. If the server is already running, this will do nothing.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "started": "string"
}
Update details about your server, including the backup and bandwidth plans, any advanced authentication options, and the hostname ('domain') we have on file.
Updating the 'domain' field will not change the actual hostname on the server. It merely updates what our records show.
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
features | object (HASH) Example: An associative array of arbitrary keys and values. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "features": { },
- "uniq_id": "string"
}
}
{- "accnt": 0,
- "active": true,
- "capabilities": { },
- "categories": [
- "string"
], - "description": "string",
- "domain": "string",
- "features": { },
- "ip": "172.0.0.1",
- "region_id": 80,
- "type": "string",
- "uniq_id": "string",
- "username": "string",
- "valid_source_hvs": { }
}
This sections provide methods for liquidweb's stored auth. On managed servers, we may need to log into the machine from time to time. We use the authentication information stored with these methods to do so.
Returns the stored auth information for a server. This method does not return either the main or alternate password.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "alternate_ssh_ip": "172.0.0.1",
- "alternate_ssh_port": 80,
- "login_username": "string",
- "special_instructions": "string",
- "uniq_id": "string",
- "whm_access_key_valid": true
}
Updates the stored authentication information for a server. Any of these fields can be blanked by setting the field to an empty string ('').
control_panel_password | string (GENERIC_PASSWORD) ^[^[:cntrl:]]{1,63}\z A password, up to 63 characters in length |
login_username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
special_instructions | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
alternate_ssh_ip | string <ipv4> (IPV4) Example: alternate_ssh_ip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
password | string (GENERIC_PASSWORD) ^[^[:cntrl:]]{1,63}\z A password, up to 63 characters in length |
login_password | string (GENERIC_PASSWORD) ^[^[:cntrl:]]{1,63}\z A password, up to 63 characters in length |
alternate_ssh_port | integer (PORT_NUMBER) ^\d{1,5}\z Example: alternate_ssh_port=80 A valid network port number. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
whm_access_key | string (TEXT_GENERAL) A string permitting tabs, carriage returns and newlines |
required | object |
{- "params": {
- "accnt": 0,
- "alternate_ssh_ip": "172.0.0.1",
- "alternate_ssh_port": 80,
- "control_panel_password": "string",
- "login_password": "string",
- "login_username": "string",
- "password": "string",
- "special_instructions": "string",
- "uniq_id": "string",
- "whm_access_key": "string"
}
}
{- "alternate_ssh_ip": "172.0.0.1",
- "alternate_ssh_port": 80,
- "login_username": "string",
- "special_instructions": "string",
- "uniq_id": "string"
}
This method lists all the dns zones on a given WHM server.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "zones": [
- "example.com"
]
}
Block storage clusters are available in specific zones, and this method offers information on the availability for a cluster. Block storage volumes must be created in the same zone as the instance it will be attached to.
Get a paginated list of block storage clusters, including the zone that the cluster is in.
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "description": "string",
- "id": 54321,
- "region": {
- "id": 54321,
- "name": "string"
}, - "zoneAvailability": [
- 54321
]
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Block storage offers a method to attach additional storage to server instances. Once attached, volumes appear as normal block devices, and can be used as such.
Attach a volume to a particular instance.
to | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "to": "string",
- "uniq_id": "string"
}
}
{- "attached": "string",
- "to": "string"
}
Create a new volume.
zone | integer (POSITIVE_INT) ^[1-9]\d*\z Example: zone=80 A positive integer value (i.e. 1 and up). |
region | integer (POSITIVE_INT) ^[1-9]\d*\z Example: region=80 A positive integer value (i.e. 1 and up). |
size | integer (POSITIVE_INT) ^[1-9]\d*\z Example: size=80 A positive integer value (i.e. 1 and up). |
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
cross_attach | boolean (BOOLEAN) A boolean value (0 or 1). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
attach | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "attach": "string",
- "cross_attach": true,
- "domain": "string",
- "region": 80,
- "size": 80,
- "zone": 80
}
}
{- "attachedTo": [
- {
- "device": "string",
- "resource": "string"
}
], - "cross_attach": true,
- "domain": "string",
- "label": "string",
- "size": 80,
- "status": "string",
- "uniq_id": "string",
- "zoneAvailability": [
- 80
]
}
Delete a volume, including any and all data stored on it. The volume must not be attached to any instances to call this method.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "deleted": "string"
}
Detach a volume from an instance. This method is roughly equivalent to unplugging an external drive, and it is important to ensure the volume is unmounted before using this method.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
detach_from | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "detach_from": "string",
- "uniq_id": "string"
}
}
{- "detached": "string",
- "detached_from": "string"
}
Retrieve information about a specific volume.
Here's a rundown of what the returned fields mean:
accnt: your account number
id: the id of the volume
domain: the name you gave the volume on creation
size: the size of the volume, in GB
status: status of the volume (unprovisioned, active, or attached)
uniq_id: the unique identifier, made of 6 letters and numbers, of the volume.
attached_to: the unique identifier of the server this volume
is attached to (or 'null').
device: if the volume is attached to a server,
this is the device that it is attached as.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "attachedTo": [
- {
- "device": "string",
- "resource": "string"
}
], - "cross_attach": true,
- "domain": "string",
- "label": "string",
- "size": 80,
- "status": "string",
- "uniq_id": "string",
- "zoneAvailability": [
- 80
]
}
Get a paginated list of block storage volumes for your account. More information about the returned data structure can be found in the documentation for storage/block/volume/details
attached_to | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "attached_to": "string",
- "page_num": 80,
- "page_size": 80
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "attachedTo": [
- {
- "device": "string",
- "resource": "string"
}
], - "cross_attach": true,
- "domain": "string",
- "label": "string",
- "size": 80,
- "status": "string",
- "uniq_id": "string",
- "zoneAvailability": [
- 80
]
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Resize a volume. Volumes can currently only be resized larger.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
new_size | integer (POSITIVE_INT) ^[1-9]\d*\z Example: new_size=80 A positive integer value (i.e. 1 and up). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "new_size": 80,
- "uniq_id": "string"
}
}
{- "new_size": 80,
- "old_size": 80,
- "uniq_id": "string"
}
Update an existing volume. Currently, only renaming the volume is supported. More information about the returned data structure can be found in the documentation for storage/block/volume/details/
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
cross_attach | boolean (BOOLEAN) A boolean value (0 or 1). |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "cross_attach": true,
- "domain": "string",
- "uniq_id": "string"
}
}
{- "attachedTo": [
- {
- "device": "string",
- "resource": "string"
}
], - "cross_attach": true,
- "domain": "string",
- "label": "string",
- "size": 80,
- "status": "string",
- "uniq_id": "string",
- "zoneAvailability": [
- 80
]
}
create a new object store.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0
}
}
{- "accnt": 0,
- "caps": [
- {
- "perm": "string",
- "type": "string"
}
], - "display_name": "string",
- "host": "example.com",
- "keys": [
- {
- "access_key": "string",
- "secret_key": "string",
- "user": "string"
}
], - "max_buckets": 80,
- "suspended": true,
- "uniq_id": "string",
- "user_id": "string"
}
Create a new key for a specific Rados Gateway user
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "access_key": "string",
- "secret_key": "string",
- "user": "string"
}
Delete an object store.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "deleted": "string"
}
Delete an existing key for a specific Rados Gateway user
access_key | string (STRING) ^.+\z A string. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "access_key": "string",
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "deleted": "string"
}
Get information about an object store.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "caps": [
- {
- "perm": "string",
- "type": "string"
}
], - "display_name": "string",
- "host": "example.com",
- "keys": [
- {
- "access_key": "string",
- "secret_key": "string",
- "user": "string"
}
], - "max_buckets": 80,
- "suspended": true,
- "user_id": "string"
}
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "buckets": { },
- "total": 12345
}
This section of the API handles basic operations on our system statuses. Currently, you can receive information on unresolved and upcoming incidents.
Returns information on all unresolved and upcoming incidents. The base class caches this information for 60 seconds for speed as well as API limits
params required | object |
{- "params": { }
}
{- "cloudsites": {
- "unresolved": [
- {
- "created_at": "string",
- "impact": "string",
- "name": "string",
- "updated_at": "string",
}
], - "upcoming": [
]
}, - "liquidweb": {
- "unresolved": [
- {
- "created_at": "string",
- "impact": "string",
- "name": "string",
- "updated_at": "string",
}
], - "upcoming": [
]
}
}
This method can be used as a basic check to see if communication with the api is possible.
params required | object |
{- "params": { }
}
{- "ping": "string"
}
Returns the version of the of the api your are using.
params required | object |
{- "params": { }
}
{- "version": "string"
}
Returns the IP address of the api client, as seen by the api.
params required | object |
{- "params": { }
}
{- "ip": "string"
}
create a new Virtual IP service.
zone | integer (INTEGER) ^-?\d+\z Example: zone=12345 An integer value. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string (LINE) ^[^[:cntrl:]]*\z A string of text, containing no newlines or other control characters. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "string",
- "zone": 12345
}
}
{- "active": true,
- "activeStatus": "string",
- "domain": "string",
- "uniq_id": "string",
- "zone": 80
}
remove a Virtual IP service.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
subaccnt | integer (RELATION_ID) ^[1-9]\d*\z Example: subaccnt=54321 A valid id number (a positive integer). |
required | object |
{- "params": {
- "accnt": 0,
- "subaccnt": 54321,
- "uniq_id": "string"
}
}
{- "destroyed": "string"
}
Get information about the VIP subaccnt.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "active": true,
- "activeStatus": "string",
- "domain": "string",
- "uniq_id": "string",
- "zone": 80
}
Create a new VPN user
password | string (GENERIC_PASSWORD_BILLING_LENGTH) ^[^[:cntrl:]\t\r\n]{6,30}\z A password of at least 6 characters and up to 30 characters in length, may contain spaces |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
lastname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
SUBACCNT_UNIQ_ID (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [SUBACCNT_UNIQ_ID] or [ARRAY[SUBACCNT_UNIQ_ID]]. | |
firstname | string (PERMISSIONS_NAME) ^[^[:cntrl:]]{1,50}\z The first, middle, or last name of an individual, up to 50 characters in length. |
required | object |
{- "params": {
- "accnt": 0,
- "firstname": "string",
- "lastname": "string",
- "password": "string",
- "uniq_id": "string",
- "username": "string"
}
}
{- "user_details": { }
}
create a new VPN service.
features | object (HASH) Example: An associative array of arbitrary keys and values. |
region_id | integer (INTEGER) ^-?\d+\z Example: region_id=12345 An integer value. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "features": { },
- "region_id": 12345
}
}
{- "active": true,
- "activeStatus": "string",
- "current_users": 12345,
- "domain": "example.com",
- "max_users": 80,
- "network_range": [
- "string"
], - "region_id": 80,
- "uniq_id": "string"
}
Get information about VPN access for this account.
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string"
}
}
{- "active": true,
- "activeStatus": "string",
- "current_users": 12345,
- "domain": "example.com",
- "max_users": 80,
- "network_range": [
- "string"
], - "region_id": 80,
- "uniq_id": "string",
- "vpn": {
- "current_users": 12345,
- "max_users": 80,
- "network_range": [
- "string"
]
}
}
Lists the authorized VPN users for a given accnt.
SUBACCNT_UNIQ_ID (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [SUBACCNT_UNIQ_ID] or [ARRAY[SUBACCNT_UNIQ_ID]]. | |
region_id | integer (RELATION_ID) ^[1-9]\d*\z Example: region_id=54321 A valid id number (a positive integer). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "region_id": 54321,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "ip": "172.0.0.1",
- "netmask": "172.0.0.1",
- "region_id": 54321,
- "subaccnt": "string",
- "user_id": 12345,
- "username": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}
Remove a VPN user
SUBACCNT_UNIQ_ID (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [SUBACCNT_UNIQ_ID] or [ARRAY[SUBACCNT_UNIQ_ID]]. | |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string",
- "username": "string"
}
}
{- "removed": "string"
}
Update the features of a VPN service.
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
domain | string <hostname> (DOMAIN_FULL) Example: domain=example.com A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
uniq_id | string (SUBACCNT_UNIQ_ID) ^[A-HJ-NP-Z0-9]{6}\z A six-character identifier, containing only capital letters and digits. |
features | object (HASH) Example: An associative array of arbitrary keys and values. |
required | object |
{- "params": {
- "accnt": 0,
- "domain": "example.com",
- "features": { },
- "uniq_id": "string"
}
}
{- "active": true,
- "activeStatus": "string",
- "current_users": 12345,
- "domain": "example.com",
- "max_users": 80,
- "network_range": [
- "string"
], - "region_id": 80,
- "uniq_id": "string"
}
Create a new VPN user for a particular account.
Array of MULTI_TYPE (strings) or SUBACCNT_UNIQ_ID (string) (MULTI_TYPE) One of [ARRAY[SUBACCNT_UNIQ_ID]] or [SUBACCNT_UNIQ_ID]. | |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": [
- "string"
], - "username": "string"
}
}
{- "user_details": { }
}
Remove a VPN user from this account. The user will still exist in the permissions system, but not have VPN access.
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
SUBACCNT_UNIQ_ID (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [SUBACCNT_UNIQ_ID] or [ARRAY[SUBACCNT_UNIQ_ID]]. |
required | object |
{- "params": {
- "accnt": 0,
- "uniq_id": "string",
- "username": "string"
}
}
{- "deleted": "string"
}
Get information about a specific VPN user on this account.
region_id | integer (RELATION_ID) ^[1-9]\d*\z Example: region_id=54321 A valid id number (a positive integer). |
derive_region_from_calling_ip | boolean (BOOLEAN) A boolean value (0 or 1). |
Array of MULTI_TYPE (strings) or SUBACCNT_UNIQ_ID (string) (MULTI_TYPE) One of [ARRAY[SUBACCNT_UNIQ_ID]] or [SUBACCNT_UNIQ_ID]. | |
calling_ip | string <ipv4> (IPV4) Example: calling_ip=172.0.0.1 An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
username | string (SUBACCNT_USERNAME) ^(?i)[-\w.@+]{2,63}\z A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
required | object |
{- "params": {
- "accnt": 0,
- "calling_ip": "172.0.0.1",
- "derive_region_from_calling_ip": true,
- "region_id": 54321,
- "uniq_id": [
- "string"
], - "username": "string"
}
}
{- "accnt": 0,
- "ip": "172.0.0.1",
- "netmask": "172.0.0.1",
- "region_id": 54321,
- "subaccnt": "string",
- "user_id": 12345,
- "username": "string"
}
Get a list of the current users for this account.
region_id | integer (RELATION_ID) ^[1-9]\d*\z Example: region_id=54321 A valid id number (a positive integer). |
SUBACCNT_UNIQ_ID (string) or Array of MULTI_TYPE (strings) (MULTI_TYPE) One of [SUBACCNT_UNIQ_ID] or [ARRAY[SUBACCNT_UNIQ_ID]]. | |
page_size | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 25 Example: page_size=80 A positive integer value (i.e. 1 and up). |
page_num | integer (POSITIVE_INT) ^[1-9]\d*\z Default: 1 Example: page_num=80 A positive integer value (i.e. 1 and up). |
accnt | integer (ACCOUNT_NUMBER) ^\d{1,8}\z A valid account number, up to 6 digits in length. |
required | object |
{- "params": {
- "accnt": 0,
- "page_num": 80,
- "page_size": 80,
- "region_id": 54321,
- "uniq_id": "string"
}
}
{- "item_count": 12345,
- "item_total": 12345,
- "items": [
- {
- "accnt": 0,
- "ip": "172.0.0.1",
- "netmask": "172.0.0.1",
- "region_id": 54321,
- "subaccnt": "string",
- "user_id": 12345,
- "username": "string"
}
], - "page_num": 80,
- "page_size": 80,
- "page_total": 80
}