Error Handling
Methods
- Account/
- Account/Auth/
- Account/Auth/TwoFactor/
- Account/BillingAddress/
- Account/ChangeOrder/Source/
- Account/ChatPassword/
- Account/Contact/
- Account/CreditCard/
- Account/Cycle/
- Account/Limits/
- Account/PasswordReset/
- Account/Paymethod/
- Account/SSH/Key/
- Account/Settings/
- Account/Subscriptions/
- Account/User/
- Account/User/StateData/
- Acronis/Backup/
- Asset/
- Asset/Connections/
- Asset/ControlPanel/Credentials/
- Asset/Measurements/
- Asset/Monitoring/
- Attribution/
- Basket/
- Basket/Domain/
- Basket/Item/
- Basket/Item/Config/
- Billing/
- Billing/Bill/
- Billing/Credit/
- Billing/CreditCard/Profile/
- Billing/Cycle/
- Billing/Invoice/
- Billing/Invoice/Preview/
- Billing/PayPal/Agreement/
- Billing/PayPal/Payment/
- Billing/Payment/
- Billing/Payment/Profile/
- BusinessEmail/Customer/
- BusinessEmail/Domain/
- Cloud/Backup/
- Cloud/Config/
- Cloud/IP/Pool/
- Cloud/Image/
- Cloud/Private/Parent/
- Cloud/Server/
- Cloud/Template/
- CloudSites/
- CloudSites/Usage/
- CodeGuard/User/
- Contact/
- Coupon/
- Coupon/Claim/
- Domain/
- Domain/Services/
- HostedEmail/Customer/
- HostedEmail/Domain/
- Licensing/
- Licensing/Cpanel/
- Licensing/Plesk/
- Market/Bundle/
- Market/Bundle/Package/
- Market/Cart/
- Market/Cart/Admin/Quote/
- Market/Cart/Discount/
- Market/Cart/Helpers/Configurator/
- Market/Cart/Item/
- Market/Package/
- Market/Package/Product/
- Market/Place/
- Meta/Timing/
- Migration/
- Migration/Account/
- Migration/Account/Server/
- Migration/Account/Server/Access/
- Migration/Destination/
- Monitoring/Bandwidth/
- Monitoring/Load/
- Monitoring/MWP/
- Monitoring/Services/
- Network/CDN/User/
- Network/CDN/Zone/
- Network/DNS/Domain/
- Network/DNS/Domain/Contact/
- Network/DNS/Domain/Nameserver/
- Network/DNS/Domain/Transfer/
- Network/DNS/Record/
- Network/DNS/Reverse/
- Network/DNS/Zone/
- Network/DNS/Zone/History/
- Network/Firewall/
- Network/Firewall/Ruleset/
- Network/IP/
- Network/LoadBalancer/
- Network/Pool/
- Network/Private/
- Network/SSHKey/
- Network/Util/
- Network/Zone/
- Notifications/
- OneTimeSecret/
- Order/AddOn/
- Product/
- Product/Addon/
- Product/Marketplace/
- Product/Series/
- Project/
- SSL/Certificate/
- Salesforce/Account/InterWorx/
- Salesforce/Chat/Auth/
- Salesforce/User/
- Server/
- Server/Auth/
- Server/Power/
- Server/VirtualDomain/
- Server/WHM/AccessHash/
- Server/WHM/DNS/
- Server/WHM/Firewall/
- Signup/Basic/
- Storage/Block/Cluster/
- Storage/Block/Volume/
- Storage/ObjectStore/
- Support/Alert/
- Support/Request/
- Support/Request/Attachment/
- Support/SystemStatus/
- Support/Ticket/Auth/
- Tags/Product/
- UserTask/
- Utilities/Info/
- VIP/
- VMware/vCloud/vDC/
- VPN/
- VPN/User/
- WWW/Cart/
- WordPress/Domain/
API Documentation (API Version bleed)
VPN/
DESCRIPTION
This section contains methods to manage the VPN service of a particular account.
addUser
URL:
https://api.liquidweb.com/bleed/VPN/addUser
Description:
Create a new VPN user
Parameters:
Parameter | Type | Notes |
---|---|---|
firstname | The first, middle, or last name of an individual, up to 50 characters in length. | |
lastname | The first, middle, or last name of an individual, up to 50 characters in length. | |
password | A password of at least 6 characters and up to 30 characters in length, may contain spaces | |
uniq_id | Either: a six-character identifier, containing only capital letters and digits.; or An array of a six-character identifier, containing only capital letters and digits. | |
username | A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). | * Required |
Returns:
Field | Type |
---|---|
user_details | An associative array of arbitrary keys and values. |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
authorized
URL:
https://api.liquidweb.com/bleed/VPN/authorized
Description:
Determine if a particular user is allowed to use the VPN. Returns the details of a single VPN user.
Parameters:
Parameter | Type | Notes |
---|---|---|
region_id | A valid id number (a positive integer). | |
username | A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). | * Required |
Returns:
Field | Type |
---|---|
ip | An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
netmask | An IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1) |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
create
URL:
https://api.liquidweb.com/bleed/VPN/create
Description:
create a new VPN service.
Parameters:
Parameter | Type | Notes |
---|---|---|
domain | A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) | * Required |
features | An associative array of arbitrary keys and values. | * Required |
region_id | An integer value. | * Required |
Returns:
Field | Type |
---|---|
active | A boolean value (0 or 1). |
activeStatus | A single word, consisting of only letters and digits. |
current_users | A non-negative integer value (i.e. 0 and up). |
domain | A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
max_users | A positive integer value (i.e. 1 and up). |
network_range | An array of an IPv4 IP address, in quad-dotted decimal notation, with a cidr mask (i.e. 127.0.0.1/32, 192.168.1.0/24) |
region_id | A positive integer value (i.e. 1 and up). |
uniq_id | A six-character identifier, containing only capital letters and digits. |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
details
URL:
https://api.liquidweb.com/bleed/VPN/details
Description:
Get information about VPN access for this account.
Parameters:
Parameter | Type | Notes |
---|---|---|
uniq_id | A six-character identifier, containing only capital letters and digits. | * Required |
Returns:
Field | Type | |||||||
---|---|---|---|---|---|---|---|---|
active | A boolean value (0 or 1). | |||||||
activeStatus | A single word, consisting of only letters and digits. | |||||||
current_users | A non-negative integer value (i.e. 0 and up). | |||||||
domain | A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) | |||||||
max_users | A positive integer value (i.e. 1 and up). | |||||||
network_range | An array of an IPv4 IP address, in quad-dotted decimal notation, with a cidr mask (i.e. 127.0.0.1/32, 192.168.1.0/24) | |||||||
region_id | A positive integer value (i.e. 1 and up). | |||||||
uniq_id | A six-character identifier, containing only capital letters and digits. | |||||||
vpn | An associative array containing the fields: | |||||||
|
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
list
URL:
https://api.liquidweb.com/bleed/VPN/list
Description:
Lists the authorized VPN users for a given accnt.
Parameters:
Parameter | Type | Notes |
---|---|---|
page_num | A positive integer value (i.e. 1 and up). | * Optional
|
page_size | A positive integer value (i.e. 1 and up). | * Optional
|
region_id | A valid id number (a positive integer). | |
uniq_id | Either: a six-character identifier, containing only capital letters and digits.; or An array of a six-character identifier, containing only capital letters and digits. |
Returns:
Field | Type | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
item_count | A non-negative integer value (i.e. 0 and up). | |||||||||||||||||||||||||
item_total | A non-negative integer value (i.e. 0 and up). | |||||||||||||||||||||||||
items | An array of associative arrays containing | |||||||||||||||||||||||||
| ||||||||||||||||||||||||||
page_num | A positive integer value (i.e. 1 and up). | |||||||||||||||||||||||||
page_size | A positive integer value (i.e. 1 and up). | |||||||||||||||||||||||||
page_total | A positive integer value (i.e. 1 and up). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
removeUser
URL:
https://api.liquidweb.com/bleed/VPN/removeUser
Description:
Remove a VPN user
Parameters:
Parameter | Type | Notes |
---|---|---|
uniq_id | Either: a six-character identifier, containing only capital letters and digits.; or An array of a six-character identifier, containing only capital letters and digits. | |
username | A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). | * Required |
Returns:
Field | Type |
---|---|
removed | A subaccnt username consisting of up to 63 characters (letters, numbers, hyphens, underscores, periods, pluses, or at symbols). |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types
update
URL:
https://api.liquidweb.com/bleed/VPN/update
Description:
Update the features of a VPN service.
Parameters:
Parameter | Type | Notes |
---|---|---|
domain | A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) | |
features | An associative array of arbitrary keys and values. | |
uniq_id | A six-character identifier, containing only capital letters and digits. | * Required |
Returns:
Field | Type |
---|---|
active | A boolean value (0 or 1). |
activeStatus | A single word, consisting of only letters and digits. |
current_users | A non-negative integer value (i.e. 0 and up). |
domain | A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc) |
max_users | A positive integer value (i.e. 1 and up). |
network_range | An array of an IPv4 IP address, in quad-dotted decimal notation, with a cidr mask (i.e. 127.0.0.1/32, 192.168.1.0/24) |
region_id | A positive integer value (i.e. 1 and up). |
uniq_id | A six-character identifier, containing only capital letters and digits. |
Possible Errors:
Refer to the Error Handling documentation for the list of exception types