PlanetHoster API (3.0.0)

Download OpenAPI specification:Download

Description

The PlanetHoster API provides a comprehensive set of tools for managing domain names and web hosting services. It enables users to perform a wide range of actions, including domain registration, DNS management, hosting configuration, SSL certificate management, and application deployment. With support for multiple programming languages and web technologies, the API empowers developers to automate and streamline operations related to domains, hosting accounts, emails, databases, and security settings, offering a flexible and efficient hosting experience.

Looking for our legacy API? Access the documentation here: Legacy API Documentation

Details

  • SSL Required: All requests must be made over encrypted TLS/SSL connections.
  • Supported HTTP Verbs: The API supports GET, POST, PUT, PATCH, and DELETE. If your client does not support all verbs, you can override the verb using the X-Http-Method-Override HTTP header.
  • Response Codes: By default, successful API calls return an HTTP 200 OK status with a JSON object in the response.
  • Error Handling: Errors are returned with HTTP status codes 4XX or 5XX, along with a JSON object containing an "error" message and an optional "error_code" integer.
  • UTF-8 Encoding: All strings sent to and received from the API must be UTF-8 encoded.
  • ETag Support: The API sends ETag headers and supports the If-None-Match header for cache validation.
  • Authentication: Unless otherwise specified, all API methods require authentication via X-API-USER and X-API-KEY.

Authentication and Whitelisting

  1. To access the API, you must first whitelist your IP addresses.
  2. Authentication requires both an API user and an API key, which should be included in the HTTP headers of your requests.

You can find your whitelisted IP addresses and credentials in the PlanetHoster Client Area - Reseller Section.

X-API-USER

Your unique API user identifier.

Security Scheme Type: API Key
Header parameter name: X-API-USER

X-API-KEY

Your API key for authentication.

Security Scheme Type: API Key
Header parameter name: X-API-KEY

General Operations

General PlanetHoster account operations.

Test API connection

Performs a simple test to verify the connection to the PlanetHoster API.

Authorizations:
(X-API-KEYX-API-USER)

Responses

Request samples

curl -X GET \
-H "X-API-KEY: XXXXX" \
-H "X-API-USER: XXXXX" \
'https://api.planethoster.net/v3/hello'

Response samples

Content type
application/json
{
  • "message": "Connected successfully",
  • "successful_connection": true
}

Account info

Retrieve detailed information about your reseller account, including credits, currency, and the number of active orders, and domains.

Authorizations:
(X-API-KEYX-API-USER)

Responses

Request samples

curl -X GET \
-H "X-API-KEY: XXXXX" \
-H "X-API-USER: XXXXX" \
'https://api.planethoster.net/v3/account/info'

Response samples

Content type
application/json
{
  • "message": "Account information successfully obtained",
  • "credit_remaining": 500.51,
  • "credit_currency": "CAD",
  • "num_active_orders": 3,
  • "num_active_domains": 3
}

TLD pricing information

Retrieves pricing details for domain name registration, renewal, and transfer across all TLDs offered by PlanetHoster. The response also indicates whether WHOIS ID protection is supported for each TLD and whether an EPP code is required for domain transfers.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
currency_code
string

Currency in which to retrieve the prices (e.g., USD, EUR, CAD).

Responses

Request samples

Content type
application/json
{
  • "currency_code": "EUR"
}

Response samples

Content type
application/json
{
  • "message": "Successfully retrieved prices",
  • "currency_code": "EUR",
  • "tlds": {
    }
}

Domains Management

Manage domain names, including registration and renewal operations.

Account domains

Retrieves a list of all active domains associated with your account. The response includes the total number of active domains and their corresponding domain names.

Authorizations:
(X-API-KEYX-API-USER)

Responses

Request samples

curl -X GET \
-H "X-API-KEY: XXXXX" \
-H "X-API-USER: XXXXX" \
'https://api.planethoster.net/v3/domains'

Response samples

Content type
application/json
{
  • "num_active_domains": 5,
  • "active_domains": [
    ]
}

Domain information

Retrieves detailed information about a domain that has been successfully registered or for which a transfer order has been created. This includes registration details, transfer status, and additional domain-related data.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Domain info successfully obtained.",
  • "order_id": 1122,
  • "is_transfer": false,
  • "is_registration": true,
  • "registration_date": "2022-02-02",
  • "expiry_date": "2024-02-02",
  • "registration_status": "Active",
  • "registration_status_info": "transfer_in_progress",
  • "purchase_status": "Paid",
  • "id_protection": true,
  • "domain_statuses": "clientTransferProhibited",
  • "transfer_request_status": "Pending",
  • "transfer_request_denied_reason": "Reject by registrar",
  • "transfer_request_denied_at": "2024-02-02",
  • "transfer_request_confirmed_at": "2024-02-02"
}

Check domain availability

Verifies if a specific domain name is available for registration. The request requires both the Second-Level Domain (SLD) and Top-Level Domain (TLD) to be provided. The response includes whether the domain is available, if it is categorized as a premium domain, and pricing details for premium domains.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "available": true,
  • "message": "Available",
  • "is_premium": true,
  • "premium_register_price": 100.11,
  • "premium_renew_price": 100.11
}

Register domain

Initiates the domain registration process, allowing you to register a domain name for a duration between 1 and 10 years.

The registration can be customized with specific nameservers and an ID protection option. Premium domains may incur higher registration fees.

Some domains may require additional information. For more details, refer to our Knowledge Base article on Country-Code Domain Specifications.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to register the domain.

period
required
integer [ 1 .. 10 ]

The number of years to register the domain.
See TLD prices for details on pricing per TLD.

ns1
required
string

Primary nameserver to use for DNS lookup of the domain.

ns2
required
string

Secondary nameserver to use for DNS lookup of the domain.

ns3
string

Optional third nameserver for DNS lookup.

ns4
string

Optional fourth nameserver for DNS lookup.

ns5
string

Optional fifth nameserver for DNS lookup.

id_protection
required
boolean

Indicates whether WHOIS ID protection should be enabled for this domain.
Note that some TLDs may not support ID protection.
See TLD prices for more details.

register_if_premium
required
boolean

Proceed with registration even if the domain is classified as a premium domain, which may result in higher costs.

use_planethoster_nameservers
required
boolean

Set this to true if you are using PlanetHoster's default nameservers (nsa.n0c.com, nsb.n0c.com, and nsc.n0c.com).
If enabled, a DNS zone will automatically be created for the domain after successful registration.

addtl_field
object

An object representing additional fields required for the specific TLD being registered.
Note: Some fields may be mandatory based on the TLD.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

registrant_first_name
required
string

The first name of the individual registering the domain.

registrant_last_name
required
string

The last name of the individual registering the domain.

registrant_email
required
string

The email address of the domain registrant, used for communication regarding domain management.

registrant_company_name
string

The name of the company or organization associated with the domain registration. This field can be left blank if the registration is for personal use.

registrant_address1
required
string

The primary street address of the registrant or their organization, including civic number.

registrant_address2
string

An additional address line for the registrant, if applicable. This field can be left blank.

registrant_city
required
string

The city where the registrant resides or is registered.

registrant_postal_code
required
string

The postal or ZIP code of the registrant’s residence.

registrant_state
required
string

The state or province where the registrant resides.

registrant_country_code
required
string

The two-letter country code representing the registrant’s country of residence. Refer to the country code list here.

registrant_phone
required
string

The phone number of the registrant, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

admin_first_name
string

The first name of the individual listed as the administrative contact for the domain.

admin_last_name
string

The last name of the individual listed as the administrative contact for the domain.

admin_email
string

The email address of the administrative contact, used for domain-related communication.

admin_company_name
string

The name of the company or organization associated with the administrative contact. This field can be left blank if the registration is for personal use.

admin_address1
string

The primary street address of the administrative contact, including the civic number.

admin_address2
string

An additional address line for the administrative contact, if applicable. This field can be left blank.

admin_city
string

The city where the administrative contact is located.

admin_postal_code
string

The postal or ZIP code of the administrative contact’s address.

admin_state
string

The state or province where the administrative contact is located.

admin_country_code
string

The two-letter ISO 3166-1 country code for the administrative contact's country. Refer to the country code list here.

admin_phone
string

The phone number of the administrative contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

billing_first_name
string

The first name of the individual listed as the billing contact for the domain.

billing_last_name
string

The last name of the individual listed as the billing contact for the domain.

billing_email
string

The email address of the billing contact, used for domain-related billing inquiries.

billing_company_name
string

The name of the company or organization associated with the billing contact. This field can be left blank if the registration is for personal use.

billing_address1
string

The primary street address of the billing contact, including the civic number.

billing_address2
string

An additional address line for the billing contact, if applicable. This field can be left blank.

billing_city
string

The city where the billing contact is located.

billing_postal_code
string

The postal or ZIP code of the billing contact’s address.

billing_state
string

The state or province where the billing contact is located.

billing_country_code
string

The two-letter ISO 3166-1 country code for the billing contact's country. Refer to the country code list here.

billing_phone
string

The phone number of the billing contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

tech_first_name
string

The first name of the individual listed as the technical contact for the domain.

tech_last_name
string

The last name of the individual listed as the technical contact for the domain.

tech_email
string

The email address of the technical contact, used for domain-related technical inquiries.

tech_company_name
string

The name of the company or organization associated with the technical contact. This field can be left blank if the registration is for personal use.

tech_address1
string

The primary street address of the technical contact, including the civic number.

tech_address2
string

An additional address line for the technical contact, if applicable. This field can be left blank.

tech_city
string

The city where the technical contact is located.

tech_postal_code
string

The postal or ZIP code of the technical contact’s address.

tech_state
string

The state or province where the technical contact is located.

tech_country_code
string

The two-letter ISO 3166-1 country code for the technical contact's country. Refer to the country code list here.

tech_phone
string

The phone number of the technical contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

Responses

Request samples

Content type
application/json
{
  • "period": 2,
  • "ns1": "ns1.resellersite.com",
  • "ns2": "ns2.resellersite.com",
  • "ns3": "ns3.resellersite.com",
  • "ns4": "ns4.resellersite.com",
  • "ns5": "ns5.resellersite.com",
  • "id_protection": true,
  • "register_if_premium": true,
  • "use_planethoster_nameservers": true,
  • "addtl_field": { },
  • "sld": "mydomain",
  • "tld": "com",
  • "registrant_first_name": "John.",
  • "registrant_last_name": "Doe.",
  • "registrant_email": "johndoe@mydomain.com.",
  • "registrant_company_name": "string",
  • "registrant_address1": "123 Parkway Lane.",
  • "registrant_address2": "222 rue Halfway.",
  • "registrant_city": "Montreal.",
  • "registrant_postal_code": "44444.",
  • "registrant_state": "Quebec.",
  • "registrant_country_code": "CA.",
  • "registrant_phone": "+1.5145555555.",
  • "admin_first_name": "John.",
  • "admin_last_name": "Doe.",
  • "admin_email": "johndoe@mydomain.com.",
  • "admin_company_name": "string",
  • "admin_address1": "123 Parkway Lane.",
  • "admin_address2": "222 rue Halfway.",
  • "admin_city": "Montreal.",
  • "admin_postal_code": "44444.",
  • "admin_state": "Quebec.",
  • "admin_country_code": "CA.",
  • "admin_phone": "+1.5145555555.",
  • "billing_first_name": "John.",
  • "billing_last_name": "Doe.",
  • "billing_email": "johndoe@mydomain.com.",
  • "billing_company_name": "string",
  • "billing_address1": "123 Parkway Lane.",
  • "billing_address2": "222 rue Halfway.",
  • "billing_city": "Montreal.",
  • "billing_postal_code": "44444.",
  • "billing_state": "Quebec.",
  • "billing_country_code": "CA.",
  • "billing_phone": "+1.5145555555.",
  • "tech_first_name": "John.",
  • "tech_last_name": "Doe.",
  • "tech_email": "johndoe@mydomain.com.",
  • "tech_company_name": "string",
  • "tech_address1": "123 Parkway Lane.",
  • "tech_address2": "222 rue Halfway.",
  • "tech_city": "Montreal.",
  • "tech_postal_code": "44444.",
  • "tech_state": "Quebec.",
  • "tech_country_code": "CA.",
  • "tech_phone": "+1.5145555555."
}

Response samples

Content type
application/json
{
  • "message": "Domain registration order successfully created",
  • "order_id": 2222,
  • "order_total": 19.99,
  • "expiry_date": "2024-02-02"
}

Transfer domain

Initiates the process to transfer a domain name from your current registrar to PlanetHoster. This allows you to consolidate domain management within the PlanetHoster platform. The transfer requires the domain's Second-Level Domain (SLD), Top-Level Domain (TLD), and the domain's transfer authorization code (EPP code) from your current registrar.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for initiating a domain transfer.

epp_code
required
string

The domain transfer authorization code, also known as the EPP code or transfer key. This is required to authorize the transfer from your current registrar.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "epp_code": "a!8/e!__Ph",
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Successfully launch transfer"
}

Renew domain

Renews an active domain name registration for a specified period of 1 to 10 years. This ensures that the domain remains active and registered under your ownership for the chosen duration.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for domain renewal.

period
required
integer [ 1 .. 10 ]

The number of years to renew the domain registration.
Refer to TLD prices for pricing details based on the domain extension.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "period": 2,
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Domain renewal order created successfully",
  • "order_id": "2222",
  • "order_total": 9.95
}

Contacts details

Retrieves the WHOIS contact information for an active domain name. This operation provides detailed insights into the registered contacts associated with the domain, including personal and company details. This information is crucial for domain management and can assist in various administrative processes.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Contact(s) successfully obtained",
  • "contacts": [
    ]
}

Update contact details

Updates the WHOIS contact information for the specified active domain name. This operation allows you to modify essential details such as the registrant's name, address, email, and phone number. It is important to keep this information accurate to ensure effective communication regarding domain management and ownership.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Contact update parameters.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

registrant_first_name
required
string

The first name of the individual registering the domain.

registrant_last_name
required
string

The last name of the individual registering the domain.

registrant_email
required
string

The email address of the domain registrant, used for communication regarding domain management.

registrant_company_name
string

The name of the company or organization associated with the domain registration. This field can be left blank if the registration is for personal use.

registrant_address1
required
string

The primary street address of the registrant or their organization, including civic number.

registrant_address2
string

An additional address line for the registrant, if applicable. This field can be left blank.

registrant_city
required
string

The city where the registrant resides or is registered.

registrant_postal_code
required
string

The postal or ZIP code of the registrant’s residence.

registrant_state
required
string

The state or province where the registrant resides.

registrant_country_code
required
string

The two-letter country code representing the registrant’s country of residence. Refer to the country code list here.

registrant_phone
required
string

The phone number of the registrant, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

admin_first_name
string

The first name of the individual listed as the administrative contact for the domain.

admin_last_name
string

The last name of the individual listed as the administrative contact for the domain.

admin_email
string

The email address of the administrative contact, used for domain-related communication.

admin_company_name
string

The name of the company or organization associated with the administrative contact. This field can be left blank if the registration is for personal use.

admin_address1
string

The primary street address of the administrative contact, including the civic number.

admin_address2
string

An additional address line for the administrative contact, if applicable. This field can be left blank.

admin_city
string

The city where the administrative contact is located.

admin_postal_code
string

The postal or ZIP code of the administrative contact’s address.

admin_state
string

The state or province where the administrative contact is located.

admin_country_code
string

The two-letter ISO 3166-1 country code for the administrative contact's country. Refer to the country code list here.

admin_phone
string

The phone number of the administrative contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

billing_first_name
string

The first name of the individual listed as the billing contact for the domain.

billing_last_name
string

The last name of the individual listed as the billing contact for the domain.

billing_email
string

The email address of the billing contact, used for domain-related billing inquiries.

billing_company_name
string

The name of the company or organization associated with the billing contact. This field can be left blank if the registration is for personal use.

billing_address1
string

The primary street address of the billing contact, including the civic number.

billing_address2
string

An additional address line for the billing contact, if applicable. This field can be left blank.

billing_city
string

The city where the billing contact is located.

billing_postal_code
string

The postal or ZIP code of the billing contact’s address.

billing_state
string

The state or province where the billing contact is located.

billing_country_code
string

The two-letter ISO 3166-1 country code for the billing contact's country. Refer to the country code list here.

billing_phone
string

The phone number of the billing contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

tech_first_name
string

The first name of the individual listed as the technical contact for the domain.

tech_last_name
string

The last name of the individual listed as the technical contact for the domain.

tech_email
string

The email address of the technical contact, used for domain-related technical inquiries.

tech_company_name
string

The name of the company or organization associated with the technical contact. This field can be left blank if the registration is for personal use.

tech_address1
string

The primary street address of the technical contact, including the civic number.

tech_address2
string

An additional address line for the technical contact, if applicable. This field can be left blank.

tech_city
string

The city where the technical contact is located.

tech_postal_code
string

The postal or ZIP code of the technical contact’s address.

tech_state
string

The state or province where the technical contact is located.

tech_country_code
string

The two-letter ISO 3166-1 country code for the technical contact's country. Refer to the country code list here.

tech_phone
string

The phone number of the technical contact, including the area code. International calling codes should precede the number, e.g., '+1' for Canada or '+33' for France.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com",
  • "registrant_first_name": "John.",
  • "registrant_last_name": "Doe.",
  • "registrant_email": "johndoe@mydomain.com.",
  • "registrant_company_name": "string",
  • "registrant_address1": "123 Parkway Lane.",
  • "registrant_address2": "222 rue Halfway.",
  • "registrant_city": "Montreal.",
  • "registrant_postal_code": "44444.",
  • "registrant_state": "Quebec.",
  • "registrant_country_code": "CA.",
  • "registrant_phone": "+1.5145555555.",
  • "admin_first_name": "John.",
  • "admin_last_name": "Doe.",
  • "admin_email": "johndoe@mydomain.com.",
  • "admin_company_name": "string",
  • "admin_address1": "123 Parkway Lane.",
  • "admin_address2": "222 rue Halfway.",
  • "admin_city": "Montreal.",
  • "admin_postal_code": "44444.",
  • "admin_state": "Quebec.",
  • "admin_country_code": "CA.",
  • "admin_phone": "+1.5145555555.",
  • "billing_first_name": "John.",
  • "billing_last_name": "Doe.",
  • "billing_email": "johndoe@mydomain.com.",
  • "billing_company_name": "string",
  • "billing_address1": "123 Parkway Lane.",
  • "billing_address2": "222 rue Halfway.",
  • "billing_city": "Montreal.",
  • "billing_postal_code": "44444.",
  • "billing_state": "Quebec.",
  • "billing_country_code": "CA.",
  • "billing_phone": "+1.5145555555.",
  • "tech_first_name": "John.",
  • "tech_last_name": "Doe.",
  • "tech_email": "johndoe@mydomain.com.",
  • "tech_company_name": "string",
  • "tech_address1": "123 Parkway Lane.",
  • "tech_address2": "222 rue Halfway.",
  • "tech_city": "Montreal.",
  • "tech_postal_code": "44444.",
  • "tech_state": "Quebec.",
  • "tech_country_code": "CA.",
  • "tech_phone": "+1.5145555555."
}

Response samples

Content type
application/json
{
  • "message": "Contact(s) successfully saved"
}

Registrar lock

Retrieve the lock status of a registered domain name. This operation informs you whether the domain is currently locked or unlocked.
A locked domain cannot be transferred to another registrar, providing an additional layer of security against unauthorized transfer attempts.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Lock status successfully obtained",
  • "is_locked": true,
  • "domain_name": "mydomain.com"
}

Activate registrar lock

Activates the registrar lock on a registered and active domain name. This process prevents unauthorized transfers by ensuring that the domain cannot be moved to another registrar without first being unlocked.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Lock status successfully saved (Locked)",
  • "is_locked": true,
  • "domain_name": "mydomain.com"
}

Deactivate registrar lock

Deactivates the registrar lock on a registered and active domain name, allowing it to be transferred to another registrar. This operation is essential for managing domain ownership changes prior to initiating a transfer.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Lock status successfully saved (Locked)",
  • "is_locked": true,
  • "domain_name": "mydomain.com"
}

Get nameservers

Fetches the nameservers associated with a registered domain name. This operation ensures that you can view the current nameserver settings for your domain, which are essential for directing traffic and managing DNS records. Note: At least two nameservers must be associated with the domain for this operation to succeed.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Nameservers successfully obtained",
  • "nameservers": [
    ]
}

Update nameservers

Updates the nameservers associated with your domain. This operation allows you to specify the primary and secondary nameservers, as well as optional backup nameservers for redundancy.
Ensure that all specified nameservers are valid and currently operational; otherwise, the update may fail.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters for updating the nameservers.

ns1
required
string

The primary nameserver for the domain, responsible for initial DNS queries.

ns2
required
string

The secondary nameserver for the domain, used for redundancy and load balancing.

ns3
string

An optional backup nameserver, providing additional redundancy.

ns4
string

Another optional backup nameserver for increased reliability.

ns5
string

A fifth optional backup nameserver, further enhancing redundancy.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "ns1": "ns1.resellersite.com",
  • "ns2": "ns2.resellersite.net",
  • "ns3": "ns3.resellersite.com",
  • "ns4": "ns4.resellersite.com",
  • "ns5": "ns5.resellersite.com",
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Nameserver(s) successfully saved"
}

Email EPP code

Sends the EPP code (also known as the Auth Info code) for the specified domain to the email address of the domain registrant. The EPP code is required when transferring a domain to another registrar, and this operation ensures it is securely sent to the appropriate email on file.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to request the EPP code for a domain.

sld
required
string

The Second-Level Domain (SLD), which is the domain name excluding the Top-Level Domain (TLD).

tld
required
string

The Top-Level Domain (TLD) without the leading period.

Responses

Request samples

Content type
application/json
{
  • "sld": "mydomain",
  • "tld": "com"
}

Response samples

Content type
application/json
{
  • "message": "Epp code successfully sent to registrant email",
  • "epp_code_sent_to": "admin@mydomain.com",
  • "domain_name": "mydomain.com"
}

Hostings Management

Manage hosting services, including configurations and account settings.

The World Information

Retrieves detailed information about your The World service and all associated sub-accounts. This includes resource allocation, status, and other essential details for managing sub-hostings. Useful for monitoring available resources and managing the status of your sub-accounts.

Authorizations:
(X-API-KEYX-API-USER)

Responses

Request samples

curl -X GET \
-H "X-API-KEY: XXXXX" \
-H "X-API-USER: XXXXX" \
'https://api.planethoster.net/v3/the-world/info'

Response samples

Content type
application/json
{
  • "available_resources": {
    },
  • "nb_active_or_suspended_accounts": 1,
  • "world_accounts": [
    ]
}

HybridClouds Information

Retrieves detailed information about all your N0C HybridCloud servers and their associated accounts. This includes resource allocation, server status, and essential details for managing your HybridCloud servers.

Authorizations:
(X-API-KEYX-API-USER)

Responses

Request samples

curl -X GET \
-H "X-API-KEY: XXXXX" \
-H "X-API-USER: XXXXX" \
'https://api.planethoster.net/v3/hybridcloud/info'

Response samples

Content type
application/json
{
  • "nb_n0c_hybridcloud": 2,
  • "n0c_hybridclouds": [
    ]
}

Create account

Creates a new N0C account on either a HybridCloud or The World hosting platform, allocating the specified resources and optionally pre-installing a CMS.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to create the account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

disk_space
integer

Maximum disk space allowed for the account (in GB).

domain
required
string

Primary domain for the account.

cpu
integer

Number of CPU cores allocated to the account.

memory
integer

Amount of memory allocated to the account (in GB).

io
integer

I/O bandwidth allocated to the account (in MB/s).

cms_name
string
Enum: "wp" "joomla" "prestashop" "drupal"

Optionally pre-install a CMS during account creation.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "disk_space": 10,
  • "domain": "test-domain.com",
  • "cpu": 2,
  • "memory": 4,
  • "io": 2,
  • "cms_name": "wp"
}

Response samples

Content type
application/json
Example
{
  • "account_created": true,
  • "server_hostname": "world-server.planethoster.com",
  • "server_ip": "199.16.XX.XXX",
  • "id": 2222,
  • "username": "usernamexyz",
  • "password": "XXXXXXXXXXXXXXX"
}

Modify account

Update the resource allocation for a N0C account hosted on either the HybridCloud or The World platform. This operation allows you to adjust the CPU, memory, I/O, and disk space as needed.

Additionally, this endpoint can be used to change the hosting account password.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters to modify an hosting account.

One of
One of
Any of
disk_space
integer

Disk space limit for the account (in GB).

cpu
required
integer

Number of CPU cores to allocate to the account.

memory
integer

Amount of memory (in GB) to allocate to the account.

io
integer

I/O bandwidth (in MB/s) to allocate to the account.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "disk_space": 10,
  • "cpu": 2,
  • "memory": 4,
  • "io": 2
}

Response samples

Content type
application/json
Example
{
  • "cpu_updated": true,
  • "mem_updated": true,
  • "io_updated": true,
  • "errors": [ ]
}

Delete hosting account

Permanently deletes a N0C account from either the HybridCloud or The World hosting platforms.

Note: The account must be suspended prior to deletion.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for account deletion.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

password
required
string

The password for the N0C account, required to confirm deletion.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "password": "*2CO6cdy4M8Tv)"
}

Response samples

Content type
application/json
{
  • "message": "Successfully terminate account"
}

Suspend account

Initiates the suspension of a World account. Provide a reason for the suspension to ensure proper record-keeping.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to suspend the account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

reason
required
string

The reason for the account suspension.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "reason": "Suspension reason"
}

Response samples

Content type
application/json
{
  • "account_suspended": true,
  • "message": "Successfully suspend account",
  • "suspension_reason": "Suspension reason"
}

Unsuspend account

Reactivates a suspended World hosting account, restoring access to the services associated with the account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to unsuspend a suspended account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "account_unsuspended": true,
  • "message": "Successfully unsuspend account"
}

Enables Temporary URL

Enables a temporary URL for the primary domain of a hosting account, allowing access via a unique URL during development or maintenance.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to enable the temporary URL.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Disables Temporary URL

Disables the temporary URL for the primary domain of a hosting account, removing the temporary access link.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to disable the temporary URL.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": { }
}

Emails

Create, manage, and configure email accounts associated with your domains.

List emails

Retrieve a list of all email accounts associated with a specific account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the email accounts.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add email

Creates a new email address associated with a specified domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to create the new email account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain under which the email address will be created.

password
required
string

The password for the new email account.

mailUser
required
string

The username for the email address (e.g., 'info' for info@mydomain.com).

quota
integer

The maximum size of the email account's storage in megabytes.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "password": "(%S0L1dP@SsW0RdZ%&)",
  • "mailUser": "info",
  • "quota": 5000
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Edit email

Updates the password and/or quota of an existing email account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters for modifying the email account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain associated with the email account.

mailUser
required
string

The username of the email account to be modified.

password
required
string

New password for the email account, if updating.

quota
integer

New email quota in megabytes (MB) for the account.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "mailUser": "info",
  • "password": "(%S0L1dP@SsW0RdZ%&)",
  • "quota": 5000
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove email

Deletes an email address from the specified domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to delete the email account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain associated with the email account to be deleted.

mailUser
required
string

The username of the email account to be removed.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "mailUser": "info"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Suspend emails

Suspend one or more email addresses associated with the account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to suspend email addresses.

One of
email
required
string

The email address to suspend.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "email": "info@mydomain.com",
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Unsuspend emails

Reinstate one or more previously suspended email addresses associated with the account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to unsuspend email addresses.

One of
email
required
string

The email address to unsuspend.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "email": "info@mydomain.com",
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Authentication status

Retrieve the current email authentication status for the specified domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to check email authentication.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which to check authentication status.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Enable authentication

Activate a specific email authentication method for the given domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to enable email authentication.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which to enable authentication.

auth
required
string
Enum: "dkim" "spf" "dMarc"

The authentication method to enable.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "auth": "dkim"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Disable authentication

Deactivate a specific email authentication method for the given domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to disable email authentication.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which to disable authentication.

auth
required
string
Enum: "dkim" "spf" "dMarc"

The authentication method to deactivate.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "auth": "dkim"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Email Forwarders

Set up and manage email forwarders to redirect emails from one address to another.

List email forwarders

Retrieve all configured email forwarders for an account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the list of email forwarders.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a forwarder

Create a new email forwarder for an email address.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for creating an email forwarder.

One of
kind
required
string
Value: "standard"
forwarder
required
string

The email address user used to forward messages.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name where the forwarder will be created.

forwardTo
required
Array of strings

The destination email addresses to which emails will be forwarded.

keepCopy
boolean

Indicates whether a copy of the forwarded emails should be retained on the original email account.

Responses

Request samples

Content type
application/json
Example
{
  • "kind": "standard",
  • "forwarder": "myemail",
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "forwardTo": [
    ],
  • "keepCopy": false
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify a forwarder

Update an existing email forwarder.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for editing an email forwarder.

One of
kind
required
string
Value: "standard"
forwarder
required
string

The email address user used for forwarding messages.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

forwarder_id
required
integer

The ID of the forwarder to be edited.

domain
required
string

The domain associated with the forwarder.

forwardTo
required
Array of strings

The destination email addresses where emails should be forwarded.

keepCopy
boolean

Specifies if a copy of forwarded emails will be kept on the original email account.

Responses

Request samples

Content type
application/json
Example
{
  • "kind": "standard",
  • "forwarder": "myemail",
  • "id": "4444",
  • "username": "ffavexdc",
  • "forwarder_id": 935,
  • "domain": "mydomain.com",
  • "forwardTo": [
    ],
  • "keepCopy": false
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a forwarder

Delete an existing email forwarder.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for deleting an email forwarder.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

forwarder_id
required
integer

The ID of the forwarder to be deleted.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "forwarder_id": 935
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Domains

Manage domains associated with your hosting account.

List all domains

Retrieve a list of all domains associated with the hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to list all domains.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a domain/sub-domain

Adds a new domain or sub-domain to your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to add a new domain.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name to add.

subDomain
string

The sub-domain name, if applicable.

docroot
required
string

The document root for the domain.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "subDomain": "sub1",
  • "docroot": "public_html/mydomain/"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Change document root

Updates the document root for an existing domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to update the domain document root.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name whose document root needs to be updated.

docroot
required
string

The new document root for the domain.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "docroot": "public_html/mydomain/"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a domain

Removes the specified domain from the N0C account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to remove a domain.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name to remove.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Suspend domain(s)

Suspend one or multiple domains associated with the hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters specifying the domains to be suspended.

One of
domain
required
string

The domain name to suspend.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "domain": "mydomain.com",
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Unsuspend domain(s)

Unsuspend one or multiple domains associated with the hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters specifying the domains to be unsuspended.

One of
domain
required
string

The domain name to unsuspend.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "domain": "mydomain.com",
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

DNS

Manage DNS records for your domains, such as A, CNAME, and MX records.

Retrieve DNS zone

Retrieve the complete DNS zone for a specified domain.

Note: If you own the domain without a hosting account, you can still manage the DNS zone with the domain only.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the DNS zone.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the DNS zone is being retrieved.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify or Add DNS Zone Records

Add or modify records within the DNS zone.

Note: If you own the domain without a hosting account, you can still manage the DNS zone with the domain only.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the DNS zone is being edited.

required
Array of objects

List of DNS records to be added or modified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "rrsets": [
    ]
}

Response samples

Content type
application/json
{
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Reset DNS zone

Resets the DNS zone to its default values.

Note: If you only own the domain without a hosting account, you can still manage the DNS zone with the domain only.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the DNS zone will be reset.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

SSL

Manage SSL certificates to secure your domains with HTTPS.

Retrieve SSL certificate

Fetch the active SSL certificate for a specified domain. This endpoint provides detailed information about the certificate's status, expiration date, issuer, and any errors that may have occurred during the certificate issuance process.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the SSL certificate.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the SSL certificate is requested.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Renew SSL

Initiates the renewal of an SSL certificate for a specified domain using AutoSSL. This process helps ensure the domain maintains a secure connection, protecting user data and preserving trust in the website's security.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to initiate the SSL renewal process.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the SSL certificate is to be renewed.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Retrieve Custom SSL

Fetch the Custom SSL certificate installed for a specified domain. This endpoint allows you to retrieve both the certificate and its associated private key.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters needed to retrieve the SSL certificate.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the SSL certificate is requested.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Install a Custom SSL

This endpoint allows you to install a custom SSL certificate for a specified domain. By providing the necessary certificate and private key, you can secure your domain with HTTPS. Ensure that the certificate is correctly formatted and associated with the domain you intend to secure.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for the custom SSL installation.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the SSL certificate will be installed.

certificate
required
string

The SSL certificate.

privateKey
required
string

The private key corresponding to the SSL certificate.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDqTCCApGgAwIBAgIUf0ySBv1sC/ZP9c67Zu42itgRmOswDQYJKoZIhvcNAQEL\r\nBQAwfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYWJlcmJldGEueHl6MQswCQYDVQQG\r\nEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRyZWFsMRUwEwYDVQQKEwxQ\r\nbGFuZXRob3N0ZXIxFDASBgNVBAsTC0RldmVsb3BtZW50MB4XDTI0MDkxNzE3MDMw\r\nMFoXDTI0MTAxNzE3MDMwMFowfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYWJlcmJl\r\ndGEueHl6MQswCQYDVQQGEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRy\r\nZWFsMRUwEwYDVQQKEwxQbGFuZXRob3N0ZXIxFDASBgNVBAsTC0RldmVsb3BtZW50\r\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyBLOv+tJdhxgCx6aZsUr\r\nZqx8yRQFFd3tZSBAHNdnMpv9VPeZrL9kkAet209Dx9/IPhUaY06dSwmiBnuEq+vE\r\nAFuFrAFe5WAcNM//9IRmuakasfspolFDiksCRB7Din4c8QIqFyGpWvFxJLjTl6H2\r\neWKzmRMeZ3A04XcpirvWYe4LM7q8tS+BgMiSsTe7iERpiAwxQK8hFIC8aBRrckDv\r\nvM/vhwypZmb+Y1GfJWgQ+0GQjfme739b/froafKDX+HcaLdOTg8T7FExG0k2r/ay\r\nnf9aieiJask7X9LCKNfwj15J1RA+yz85P8z5LvTKNjC4cBl4aOuhJxxpxbIJlDfo\r\nTwIDAQABoyEwHzAdBgNVHQ4EFgQUBIWBIzBK6AeopgBCO9RgqLy5q/MwDQYJKoZI\r\nhvcNAQELBQADggEBAAAiWP6nbe01kfUi/aEsD0eDZZyOgolnWMzd6M67WEw0nzgh\r\nwhrID0CTAMMhckbPiR9NiAyLQLwXyVkV0jGntX5aQ0tpE5ZtXalfrPp8HLuhuQVo\r\nyulyPOJXv4VjrHGDdCofNKqts5BoWssM3fkncEObMNXFM13jiKL2uX1lrn0T0OQI\r\nOXyfW6VOnSpy2wPRdNkaTPY3u86wQNgjAd4vBH8FYleOsUKBhnILnVgn+T1rt1QC\r\nRT3WMYvSukNJJSSIIY9N833Y97g5qEkFfmPinIS8DYQCO3V2jBcPbqb6r2+aKdT8\r\ni29j6Cs1ITGiNYATIAG162+Vd1YLqn7ItqXubZc=\r\n-----END CERTIFICATE-----\r\n",
  • "privateKey": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEpAIBAAKCAQEAyBLOv+tJdhxgCx6aZsUrZqx8yRQFFd3tZSBAHNdnMpv9VPeZ\r\nrL9kkAet209Dx9/IPhUaY06dSwmiBnuEq+vEAFuFrAFe5WAcNM//9IRmuakasfsp\r\nolFDiksCRB7Din4c8QIqFyGpWvFxJLjTl6H2eWKzmRMeZ3A04XcpirvWYe4LM7q8\r\ntS+BgMiSsTe7iERpiAwxQK8hFIC8aBRrckDvvM/vhwypZmb+Y1GfJWgQ+0GQjfme\r\n739b/froafKDX+HcaLdOTg8T7FExG0k2r/aynf9aieiJask7X9LCKNfwj15J1RA+\r\nyz85P8z5LvTKNjC4cBl4aOuhJxxpxbIJlDfoTwIDAQABAoIBAQDHKenEJN1ZBQAa\r\nsZk0CryclcIWjKZPUT+bdlI8I7UoLR4u8dd5noDl268W7L3lfwAfxPQivURZSTqQ\r\nR28XkTfovzK+uhKUNWt+qzv5Vb/Iu+zGFecpHMomJWsZEqLG/6mhxOzPYAPtcwGV\r\nc6O2g1UPGtD75YtTnuAVPYEOCNRtYD4DkTzWbWpbkZtVag9jqk0bon0akk6algjm\r\nuDm5xE94uU9hkx2dwcuykgWwTRlDft1okJ7oXu68N1rMcIdEr+chzsHCAEWvHGJ+\r\ncNbLCiTmuJDwKWZpR2SkksHWxwfhHyxrGNzJ4yID6HpUL7oE9hZ1egaUbDbxnrBE\r\nrakESqJZAoGBAOYp8KWn4cqkJMzPJR1+PDSlXDAUlFYq661cImV3LpFF2azNjl6J\r\nYSNKMMuc3rQPifJgRryRE3Nt+d6b9TJc0T5SfWIoqn6vz4/w42AYtSoh/GdxWSSA\r\nY+HbulW1FUdeILAy4tC0pVbFHuoGuIr4mgl2bldirX19SCVQD91FaK2VAoGBAN6I\r\nLnkbZdAI3BxXW0qMcdCiceBa+ME/ehI/6C4dpHCxEuXX2gQWCZb5uq3EZgZbsmc5\r\ng4/+3TTmazP1GVzXkv2FO9HIDEIUplIg4HWd30WLfG9hBR7shAEonuYNTOvwhneh\r\ndVCZo/1MwUk58Lts+Y1B/ItsO6tugc/pDSW4Nt1TAoGADvi1baEg/9RzjFsBGA0J\r\nD4eeGoaMK5q5H9q5Zg49mjeH9ESeuSmIhwohaG0400+bcoeusj9hm4WQ1lkgtvjw\r\np3QoMcVhacI35y4NLEgPKMFzMKtf2A798Eghs8eGrdDCoZN9y4OkqaNC4ogzYt7O\r\n7kSk4sxJartGgR7XGVaVe40CgYEAgE9NXI8rmVRCdiT4gneQeJfxyUcq/2I2ZKds\r\nnIqC8mdnWhenoYuDZAYCWYdQvIHK0DIdZb2ylnn1fjPot9uk6YEVCNSsHL4DWH+U\r\nbLzmrBbNXPs4FKiTRIfDdypcG/7HydrS5fJw1/CV0j8SSz9+dLCDiXCSxzokp1jd\r\nN86L8/kCgYBmokshUEeHNriRpD2Lj0VRA6ZDePPYbOF8Z+x/QoHJONQ2Vjr+YTbk\r\ngv9abhUCTme4E6CBk378qXBUNKxIRjm7tHskVPv5P5Bq0K/pHbiP2kKVcT2N+jab\r\n5R/8Qnc+153PQG3Ba5f9urfnCBU1JKrMyj0uqaLjT0UkMF3Yz312fw==\r\n-----END RSA PRIVATE KEY-----\r\n"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Delete a Custom SSL

This endpoint allows you to delete the current custom SSL certificate associated with a specified domain and revert to AutoSSL. This action will remove the custom certificate, enabling the system to automatically manage the SSL for the domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for the deletion of the custom SSL certificate.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the custom SSL certificate will be deleted.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Validate custom SSL

Validates a custom SSL certificate to ensure its integrity and correctness before installation on a specified domain. This process checks whether the certificate is correctly formatted, properly signed, and matches the domain for which it is intended.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for validating the custom SSL certificate.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The fully qualified domain name (FQDN) for which the SSL certificate was issued.

certificate
required
string

The SSL certificate that needs to be validated.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDqTCCApGgAwIBAgIUf0ySBv1sC/ZP9c67Zu42itgRmOswDQYJKoZIhvcNAQEL\r\nBQAwfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYWJlcmJldGEueHl6MQswCQYDVQQG\r\nEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRyZWFsMRUwEwYDVQQKEwxQ\r\nbGFuZXRob3N0ZXIxFDASBgNVBAsTC0RldmVsb3BtZW50MB4XDTI0MDkxNzE3MDMw\r\nMFoXDTI0MTAxNzE3MDMwMFowfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYWJlcmJl\r\ndGEueHl6MQswCQYDVQQGEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRy\r\nZWFsMRUwEwYDVQQKEwxQbGFuZXRob3N0ZXIxFDASBgNVBAsTC0RldmVsb3BtZW50\r\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyBLOv+tJdhxgCx6aZsUr\r\nZqx8yRQFFd3tZSBAHNdnMpv9VPeZrL9kkAet209Dx9/IPhUaY06dSwmiBnuEq+vE\r\nAFuFrAFe5WAcNM//9IRmuakasfspolFDiksCRB7Din4c8QIqFyGpWvFxJLjTl6H2\r\neWKzmRMeZ3A04XcpirvWYe4LM7q8tS+BgMiSsTe7iERpiAwxQK8hFIC8aBRrckDv\r\nvM/vhwypZmb+Y1GfJWgQ+0GQjfme739b/froafKDX+HcaLdOTg8T7FExG0k2r/ay\r\nnf9aieiJask7X9LCKNfwj15J1RA+yz85P8z5LvTKNjC4cBl4aOuhJxxpxbIJlDfo\r\nTwIDAQABoyEwHzAdBgNVHQ4EFgQUBIWBIzBK6AeopgBCO9RgqLy5q/MwDQYJKoZI\r\nhvcNAQELBQADggEBAAAiWP6nbe01kfUi/aEsD0eDZZyOgolnWMzd6M67WEw0nzgh\r\nwhrID0CTAMMhckbPiR9NiAyLQLwXyVkV0jGntX5aQ0tpE5ZtXalfrPp8HLuhuQVo\r\nyulyPOJXv4VjrHGDdCofNKqts5BoWssM3fkncEObMNXFM13jiKL2uX1lrn0T0OQI\r\nOXyfW6VOnSpy2wPRdNkaTPY3u86wQNgjAd4vBH8FYleOsUKBhnILnVgn+T1rt1QC\r\nRT3WMYvSukNJJSSIIY9N833Y97g5qEkFfmPinIS8DYQCO3V2jBcPbqb6r2+aKdT8\r\ni29j6Cs1ITGiNYATIAG162+Vd1YLqn7ItqXubZc=\r\n-----END CERTIFICATE-----\r\n"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Retrieve CSR

Retrieve the list of certificate signing requests (CSRs) associated with a specified domain. This endpoint provides detailed information about each CSR, including the creation date, the CSR itself, any self-signed certificates, and the public key fingerprint. It is useful for tracking and managing the CSRs generated for your domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to fetch CSRs.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the CSRs are requested.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Generate a CSR

Generate a new certificate signing request (CSR) for a specified domain. This endpoint allows you to submit the necessary details, such as the domain name, organization information, and contact email, which will be used to create the CSR. The generated CSR can then be submitted to a Certificate Authority (CA) to obtain an SSL certificate.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for CSR creation.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the CSR is created.

countryCode
required
string

Two-letter country code of the organization's location.

state
required
string

State or province where the organization is located.

localityName
required
string

City where the organization is located.

organizationName
required
string

Full name of the organization.

organizationUnitName
required
string

Department name within the organization.

email
required
string

Contact email address for the CSR.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "countryCode": "CA",
  • "state": "Quebec",
  • "localityName": "Montreal",
  • "organizationName": "MyBusiness Inc.",
  • "organizationUnitName": "Development",
  • "email": "myemail@mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a CSR

Delete a specific certificate signing request (CSR) for a domain using its public key fingerprint. This endpoint is useful for cleaning up obsolete or incorrect CSRs, ensuring that only relevant requests are retained in the system.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to delete the CSR.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name associated with the CSR.

csrPubKeyFingerPrint
required
string

Public key fingerprint of the CSR to be deleted.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "csrPubKeyFingerPrint": "04858123304ae807a8a600423bd460a8bcb9abf3"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Retrieve CSR private key

Retrieve the private key associated with a Certificate Signing Request (CSR) for a specific domain. This key is used to validate the CSR and is essential for SSL certificate generation.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the private key for the specified CSR.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the CSR was generated.

csrPubKeyFingerPrint
required
string

The public key fingerprint of the CSR used to identify the request.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "csrPubKeyFingerPrint": "04858123304ae807a8a600423bd460a8bcb9abf3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Redirections

Configure and manage domain redirections.

List redirections

Retrieves a comprehensive list of domain redirections. This includes details about whether the redirection uses HTTPS, if 'www.' is added, and the destination URL. It provides insight into how domains are configured to redirect traffic, including the type of redirection used (301 or 302) and whether the domain is redirected to another domain.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for listing redirections.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a Redirection

Creates a domain redirection to a specified URL. This can be used to enforce HTTPS or to prepend 'www.' to the domain name, ensuring that all traffic is directed as desired. This operation is essential for managing site traffic and improving security.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to set up the redirection.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the redirection will be created.

rType
required
integer
Enum: 301 302

The type of redirection, where 301 indicates a permanent redirect and 302 indicates a temporary redirect.

destinationUrl
required
string

The URL to which the domain will be redirected.

Responses

Request samples

Content type
application/json
Example
{}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Delete a Redirection

Removes an existing redirection for the specified domain. This operation is useful for managing your site's redirection strategy and allows for the removal of outdated or unnecessary redirects.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to delete the redirection.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the redirection will be deleted.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

PHP Configuration

Configure PHP settings for your hosting account, including versions and extensions.

List PHP versions

Retrieve a list of all available PHP versions, including the current active version and the default version for the hosting environment.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters to list available PHP versions.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Current PHP version

Get the currently active PHP version configured for the hosting environment.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Request parameters to retrieve the current PHP version.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Change PHP version

Change the PHP version currently active for the hosting environment to the specified version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to update the PHP version for the hosting account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version to set as active on the account.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List PHP options

Retrieve the available configuration options for a specific PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to fetch the configuration options for a specific PHP version.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which to retrieve configuration options.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify PHP options

Update configuration options for a specified PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to update the configuration options for a specified PHP version.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which to update configuration options.

required
object

Key-value pairs of PHP configuration options to modify.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3",
  • "options": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Reset PHP options

Reset all PHP configuration options to their default values for a specified PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to reset the PHP options to their default values.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which the options should be reset.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List PHP extensions

Retrieve the list of available PHP extensions and their statuses for a specific PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to retrieve the extensions for the specified PHP version.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which to fetch the list of extensions.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify PHP extensions

Enable or disable PHP extensions for a specified PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to modify the PHP extensions for the specified PHP version.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which to modify extensions.

required
object

Lists of PHP extensions to enable or disable.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3",
  • "extensions": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Reset PHP extensions

Reset all PHP extensions to their default values for a specified PHP version.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to reset the PHP extensions to their default values.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

version
required
string

The PHP version for which the extensions should be reset.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "version": "8.3"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Node.js Applications

Manage Node.js applications, including deployment and environment configurations.

List Node.js Versions

Retrieve a list of all available Node.js versions that can be used on your hosting account. This endpoint provides details on the supported versions, allowing you to choose the appropriate Node.js version for your application.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to fetch the list of available Node.js versions.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List Node.js applications

Retrieve a comprehensive list of all Node.js applications on your hosting account. This endpoint returns details such as the app root directory, Node.js version, URI, domain, startup file, status, and the path to the virtual environment activation script.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to list Node.js applications.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a Node.js application

Create a new Node.js application on your hosting account. This endpoint allows you to define key details such as the application’s root directory, associated domain, startup file, Node.js version, URI path, and application mode (development or production).

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to create a Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory for your Node.js application.

domain
required
string

The domain name for your application.

startUpFile
string

The file that will be used to start your Node.js application.

uri
string

The URI path for your application.

version
required
string

The version of Node.js to use for your application.

appMode
string
Enum: "development" "production"

The mode in which the application will run, either in development or production.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com",
  • "startUpFile": "start.js",
  • "uri": "node/new",
  • "version": "20",
  • "appMode": "development"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify a Node.js application

Update the configuration of an existing Node.js application on your hosting account. This allows you to change the domain, startup file, URI, Node.js version, root directory, or switch between development and production modes.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters to modify an existing Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The current root directory of your Node.js application.

newDomain
string

The new domain name for your application.

startUpFile
string

The new startup file to use for your application.

newUri
string

The new URI path for your application.

version
required
string

The new Node.js version to be used for your application.

newAppMode
string
Enum: "development" "production"

The new operational mode of the application.

newAppRoot
string

The new root folder for your application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "newDomain": "mydomain.com",
  • "startUpFile": "start.js",
  • "newUri": "node/new",
  • "version": "20",
  • "newAppMode": "development",
  • "newAppRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a Node.js application

Permanently delete an existing Node.js application from your hosting account. This action removes the application, and its associated configurations.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to delete a Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Node.js application you want to delete.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Start a Node.js application

Start a Node.js application that is hosted on your account. This endpoint initiates the application using the specified root directory and domain. Upon success, it returns a message confirming that the Node.js application has been successfully started.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to start the Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Node.js application you want to start.

domain
required
string

The domain name associated with your Node.js application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Stop a Node.js application

Stop a Node.js application that is hosted on your account. This endpoint initiates the application using the specified root directory and domain. Upon success, it returns a message confirming that the Node.js application has been successfully stopped.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to stop the Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Node.js application you want to start.

domain
required
string

The domain name associated with your Node.js application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Restart a Node.js application

Restart a specific Node.js application on your hosting account. This endpoint requires the application's root directory and the associated domain name to ensure the correct app is restarted. Upon success, a confirmation message is returned indicating the restart has been initiated.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to restart the Node.js application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Node.js application to be restarted.

domain
required
string

The domain name associated with the application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Ruby Applications

Manage Ruby applications, including version management and environment configurations.

List Ruby Versions

Retrieve a list of all available Ruby versions that can be used on your hosting account. This endpoint provides details on the supported versions, allowing you to choose the appropriate Ruby version for your application.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to fetch the list of available Ruby versions.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List Ruby Applications

Retrieve a comprehensive list of all Ruby applications on your hosting account. This endpoint returns details such as the app root directory, Ruby version, URI, domain, and the source command to activate your virtual environment.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to list Ruby applications.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a Ruby application

Create a new Ruby application on your hosting account. This endpoint allows you to define key details such as the application’s root directory, associated domain, Ruby version, and URI path.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to create a Ruby application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory for your Ruby application.

domain
required
string

The domain name for your application.

uri
string

The URI path for your application.

version
required
string

The version of Ruby to use for your application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com",
  • "uri": "ruby/new",
  • "version": "3.1"
}

Response samples

Content type
application/json
{
  • "status": "OK",
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify a Ruby application

Update the configuration of an existing Ruby application on your hosting account. This allows you to change the domain, URI, Ruby version, or root directory.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters to modify an existing Ruby application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The current root directory of your Ruby application.

newDomain
string

The new domain name for your application.

newUri
string

The new URI path for your application.

version
required
string

The new Ruby version to be used for your application.

newAppRoot
string

The new root folder for your application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "newDomain": "mydomain.com",
  • "newUri": "ruby/new",
  • "version": "3.1",
  • "newAppRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a Ruby application

Permanently delete an existing Ruby application from your hosting account. This action removes the application, and its associated configurations.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to delete a Ruby application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Ruby application you want to delete.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Restart a Ruby application

Restart a specific Ruby application on your hosting account. This endpoint requires the application's root directory and the associated domain name to ensure the correct app is restarted. Upon success, a confirmation message is returned indicating the restart has been initiated.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to restart the Ruby application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Ruby application to be restarted.

domain
required
string

The domain name associated with the application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Python Applications

Manage Python applications, including version control and environment setup.

List Python Versions

Retrieve a list of all available Python versions that can be used on your hosting account. This endpoint provides details on the supported versions, allowing you to choose the appropriate Python version for your application.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to fetch the list of available Python versions.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List Python applications

Retrieve a comprehensive list of all Python applications on your hosting account. This endpoint returns details such as the app root directory, Python version, URI, domain, startup file, status, and the path to the virtual environment activation script.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to list Python applications.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a Python application

Create a new Python application on your hosting account. This endpoint allows you to define key details such as the application’s root directory, associated domain, startup file, Python version, and URI path.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to create a Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory for your Python application.

domain
required
string

The domain name for your application.

startUpFile
string

The file that will be used to start your Python application.

uri
string

The URI path for your application.

version
required
string

The version of Python to use for your application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com",
  • "startUpFile": "run.py",
  • "uri": "python/new",
  • "version": "3.10"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify a Python application

Update the configuration of an existing Python application on your hosting account. This allows you to change the domain, startup file, URI, Python version, or root directory.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters to modify an existing Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The current root directory of your Python application.

newDomain
string

The new domain name for your application.

startUpFile
string

The new startup file to use for your application.

newUri
string

The new URI path for your application.

version
required
string

The new Python version to be used for your application.

newAppRoot
string

The new root folder for your application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "newDomain": "mydomain.com",
  • "startUpFile": "run.py",
  • "newUri": "python/new",
  • "version": "3.10",
  • "newAppRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a Python application

Permanently delete an existing Python application from your hosting account. This action removes the application, and its associated configurations.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to delete a Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Python application you want to delete.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Start a Python application

Start a Python application that is hosted on your account. This endpoint initiates the application using the specified root directory and domain. Upon success, it returns a message confirming that the Python application has been successfully started.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to start the Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Python application you want to start.

domain
required
string

The domain name associated with your Python application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Stop a Python application

Stop a Python application that is hosted on your account. This endpoint initiates the application using the specified root directory and domain. Upon success, it returns a message confirming that the Python application has been successfully stopped.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to stop the Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Python application you want to start.

domain
required
string

The domain name associated with your Python application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Restart a Python application

Restart a specific Python application on your hosting account. This endpoint requires the application's root directory and the associated domain name to ensure the correct app is restarted. Upon success, a confirmation message is returned indicating the restart has been initiated.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to restart the Python application.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

appRoot
required
string

The root directory of the Python application to be restarted.

domain
required
string

The domain name associated with the application.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "appRoot": "myapp",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Databases

Manage databases and database users, including operations for MySQL and PostgreSQL.

These endpoints allows you to list, create, modify, and delete databases and users, as well as assign users to databases.

It also provides auto-login functionality for PHPMyAdmin (MySQL) and phpPgAdmin (PostgreSQL) for quick access to the respective database management interfaces.

List all databases

Retrieve a list of all databases associated with the account for either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to list the databases.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List databases size

Retrieves the disk usage details for all databases associated with the account, supporting both MySQL and PostgreSQL engines. The response includes the total disk usage as well as the individual disk usage for each database.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to retrieve the disk usage information for databases.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a database

Create a new database for the account, which can be either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

The parameters required to create a new database.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

name
required
string

The name of the new database.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "name": "mydatabase",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a database

Delete an existing database from the account, which can be either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

The parameters required to remove a database.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

name
required
string

The name of the database to be removed.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "name": "mydatabase",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List databases users

Retrieve a list of all database users associated with the account for MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to list database users.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add database user

This endpoint allows you to create a new databases user, which can be either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to create a new database user.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

dbUser
required
string

The username for the new database user.

password
required
string

The password for the new database user.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "dbUser": "newuser",
  • "password": "(%S0L1dP@SsW0RdZ%&)",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify database user

This endpoint allows you to modify an existing databases user, which can be either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to modify a database user.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseUsername
required
string

The username for the database user to modify.

newDatabaseUsername
string

The new username for the database user.

newPassword
required
string

The new password for the database user.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseUsername": "newuser",
  • "newDatabaseUsername": "neweruser",
  • "newPassword": "(%S0L1dP@SsW0RdZ%&)",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove database user

This endpoint allows you to remove an existing database user, which can be either MySQL or PostgreSQL.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to remove a database user.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

dbUser
required
string

The username of the database user to be removed.

databaseType
string
Enum: "MYSQL" "POSTGRES"

The database engine to use. Defaults to MYSQL if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "dbUser": "newuser",
  • "databaseType": "MYSQL"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Grant database permission

This endpoint allows you to assign database access privileges to a user. For MySQL, you can specify granular permissions, such as read, write, etc., for individual databases. For PostgreSQL, only full access to the entire database can be granted to the user.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to grant database permissions.

One of
databaseType
string
Value: "MYSQL"

The database engine to use. By default, MYSQL is used if no engine is specified.

privileges
required
Array of any
Items Enum: "ALL PRIVILEGES" "ALTER" "ALTER ROUTINE" "CREATE" "CREATE ROUTINE" "CREATE TEMPORARY TABLES" "CREATE VIEW" "DELETE" "DROP" "EVENT" "EXECUTE" "INDEX" "INSERT" "LOCK TABLES" "REFERENCES" "SELECT" "SHOW VIEW" "TRIGGER" "UPDATE"

The privileges to assign to the database user.

ALL PRIVILEGES will grant the user full access to the database.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseName
required
string

The name of the database.

databaseUsername
required
string

The username of the database user.

Responses

Request samples

Content type
application/json
Example
{
  • "databaseType": "MYSQL",
  • "privileges": "ALL PRIVILEGES",
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseName": "existing_database",
  • "databaseUsername": "existing_user"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove permission

This endpoint allows you to revoke database access privileges from a user. For MySQL, you can revoke specific permissions, such as read, write, etc., for individual databases. For PostgreSQL, you can only revoke full access to the entire database for a user.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to revoke database permissions.

One of
databaseType
string
Value: "MYSQL"

The database engine to use. By default, MYSQL is used if no engine is specified.

privileges
Array of any
Items Enum: "ALL PRIVILEGES" "ALTER" "ALTER ROUTINE" "CREATE" "CREATE ROUTINE" "CREATE TEMPORARY TABLES" "CREATE VIEW" "DELETE" "DROP" "EVENT" "EXECUTE" "INDEX" "INSERT" "LOCK TABLES" "REFERENCES" "SELECT" "SHOW VIEW" "TRIGGER" "UPDATE"

The privileges to revoke from the database user.

Omitting this parameter or passing ALL PRIVILEGES will remove all privileges from the user.

id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

databaseName
required
string

The name of the database.

databaseUsername
required
string

The username of the database user.

Responses

Request samples

Content type
application/json
Example
{
  • "databaseType": "MYSQL",
  • "privileges": "ALL PRIVILEGES",
  • "id": "4444",
  • "username": "ffavexdc",
  • "databaseName": "existing_database",
  • "databaseUsername": "existing_user"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Retrieve phpMyAdmin autologin URL

Retrieves the phpMyAdmin autologin URL for the specified account, allowing direct access to phpMyAdmin without requiring manual login.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to retrieve the phpMyAdmin autologin URL.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{}

Retrieve phpPgAdmin autologin URL

Retrieves the phpPgAdmin autologin URL for the specified account, allowing direct access to phpPgAdmin without requiring manual login.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to retrieve the phpPgAdmin autologin URL.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{}

Performance

Monitor and optimize the performance of your hosting account using tools like LSCache, Memcached, and Redis to ensure faster load times and optimized resource utilization.

Clear LiteSpeed Cache

Clear the LiteSpeed cache for a specified domain, ensuring the latest content is served.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to flush the LiteSpeed cache.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which the LiteSpeed cache will be flushed.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Memcached service status

Retrieve the current status and performance statistics of the Memcached service for your account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Request parameters needed to fetch the Memcached status.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Memcached service control

Send a command to control the Memcached service for your account (e.g., start, stop, restart, on, or off).

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to perform an action on the Memcached service.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

serviceAction
string
Enum: "on" "off" "start" "stop" "restart"

The action to perform on the Memcached service.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "serviceAction": "on"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Flush Memcached Cache

Invalidate all cached items in the Memcached server without pausing the service. This operation causes all items in the cache to expire immediately but does not free up memory or flush data from the server. The server continues running and returns instantly.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to flush the Memcached cache.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": "Successfully cleared memcached cache.",
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Redis service status

Retrieve the current status and detailed performance statistics of the Redis service for your account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to fetch the current status and statistics of the Redis service.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Redis service control

Send a command to control the Redis service for your account (e.g., start, stop, restart, on, or off).

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to perform an action on the Redis service.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

serviceAction
string
Enum: "on" "off" "start" "stop" "restart"

The action to perform on the Redis service.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "serviceAction": "on"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Flush Redis Cache

Remove all keys from all Redis databases, effectively clearing the entire Redis cache. This operation deletes all stored data across all databases in the Redis instance without impacting the server itself.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to flush all Redis caches.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": "Successfully flushed all redis databases.",
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

N0C Storage

Manage the N0C Storage account for a hosting account.

Account information

Get the N0C Storage account information for your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Initialize account

Initialize a N0C Storage account for your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Reset credentials

Reset the N0C Storage credentials for a hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List URLs

Get the N0C Storage URLs for your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a URL

Add a N0C Storage URL to your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

uri
required
string

N0C Storage URI.

domain
string

Domain for the N0C Storage URL. Applies to all your domains if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "uri": "/test/",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Update a URL

Update a N0C Storage URL for your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

urlId
required
integer

N0C Storage URL ID.

uri
required
string

N0C Storage URI.

domain
string

Domain for the N0C Storage URL. Applies to all your domains if not specified.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "urlId": 0,
  • "uri": "/test/",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Delete a URL

Delete a N0C Storage URL from your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

urlId
required
integer

N0C Storage URL ID.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "urlId": 123
}

Response samples

Content type
application/json
{
  • "data": { },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

SSH

Configure and manage SSH access to your hosting account.

Retrieve SSH keys

Retrieve the SSH keys that are installed for a specific account. This endpoint returns detailed information about the keys, including their fingerprints, comments, and the IP addresses from which the keys are allowed.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to list the SSH keys for the account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add a SSH key

Add a new SSH public key to the N0C account. This allows secure SSH access using the provided key.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to add the SSH key, including the public key, comment, and optional allowed IPs.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

pKey
required
string

The SSH public key to be added.

comment
string

A comment to identify the key, such as the email or purpose.

fromIps
Array of strings

Optional list of IP addresses allowed to use this key.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "pKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSkT3A1j89RT/540ghIMHXIVwNlAEM3WtmqVG7YN/wYwtsJ8iCszg4/lXQsfLFxYmEVe8L9atgtMGCi5QdYPl4X/c+5YxFfm88Yjfx+2xEgUdOr864eaI22yaNMQ0AlyilmK+PcSyxKP4dzkf6B5Nsw8lhfB5n9F5md6GHLLjOGuBbHYlesKJKASDSADADASDssdsdsGEcHewOCbVs+IJWBFSi6w1enbKGc+RY9KrnzeDKWWqzYnNofiHGVFAuMxrmZOasqlTIKiC2UK3RssssmLxZicWiQD6i2S9szDy6aZ",
  • "comment": "user@mydomain.com",
  • "fromIps": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Edit a SSH key

Modify an existing SSH key's properties, such as its comment or the allowed IP addresses.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters to update the SSH key, including its MD5 fingerprint and optional properties like comments or allowed IPs.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

key
required
string

The MD5 fingerprint of the SSH key to be updated.

comment
string

A new or updated comment for the key.

fromIps
Array of strings

Updated list of IP addresses allowed to use this key.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
  • "comment": "user@mydomain.com",
  • "fromIps": [
    ]
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove a SSH key

Remove an existing SSH key from your N0C account. You must provide the key’s MD5 fingerprint for identification.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to remove the SSH key.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

key
required
string

MD5 fingerprint of the SSH key to be removed.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

FTP

Manage FTP accounts for file transfers to and from your hosting account.

List FTP users

Retrieve a comprehensive list of all FTP accounts associated with your account.
This endpoint provides details for each FTP user, including the user ID, username, and root folder path.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to list FTP users.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add FTP account

Create a new FTP account with specified parameters.
This endpoint allows you to set the username, password, and root directory for the FTP account, along with an option to create the directory if it doesn't already exist.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

FTP account creation parameters.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for the FTP account.

ftpUser
required
string

The desired FTP username.

path
required
string

The root directory for the new FTP account.

password
required
string

The password for the FTP account.

createFolder
boolean

Whether to create the specified root directory if it does not exist.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "ftpUser": "ftpuser1",
  • "path": "ftpuser/directory",
  • "password": "(%S0L1dP@SsW0RdZ%&)",
  • "createFolder": true
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Modify FTP account

Update the password or root directory of an existing FTP account.
This endpoint allows for modifications to the account's details, including changing the username's password or updating the associated path.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for editing an FTP account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for the FTP account.

ftpUser
required
string

The FTP username of the account to be modified.

password
required
string

The new password for the FTP account.

path
string

The new path associated with the FTP account.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "ftpUser": "ftpuser1",
  • "password": "(%S0L1dP@SsW0RdZ%&)",
  • "path": "ftpuser/directory"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove FTP account

Delete an existing FTP account from the server.
This endpoint requires the domain name and FTP username, excluding the domain part of the username, for successful deletion.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to remove an FTP account.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name of the FTP account to be removed.

ftpUser
required
string

The FTP username to delete.

Do not include the domain part: @mydomain.com

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "ftpUser": "ftpuser1"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List FTP connections

Retrieve a list of all currently active FTP connections to the server.
This endpoint provides details about each connection, including the associated FTP account, connection duration, and current state.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve the list of active FTP connections.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Security

Configure and manage web application firewall (WAF) and other security settings.

Retrieve WAF Logs

Retrieve the Web Application Firewall (WAF) logs for a specified domain.
Learn more about Web App Firewall.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for retrieving WAF logs.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which WAF logs are being requested.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Retrieve WAF rules

Retrieve the Web Application Firewall (WAF) rules for a specified domain.
Learn more about Web App Firewall.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for retrieving WAF rules.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which WAF rules are being requested.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Update WAF rules

Update the WAF rules for a specified domain.
Learn more about Web App Firewall.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for updating WAF rules.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

domain
required
string

The domain name for which WAF rules are being updated.

wafDisabledRules
required
Array of integers

A list of rule IDs to disable.

append
boolean

Indicates whether to append the new rules to the existing disabled rules list or to reset it with the new rules list.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "domain": "mydomain.com",
  • "wafDisabledRules": [
    ],
  • "append": true
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Stats

Access statistics on resource usage and website traffic.

Resource usage

Fetch detailed statistics on LVE (Lightweight Virtual Environment) resource usage, including CPU, memory, processes, I/O, and more. The data can be retrieved over specific time periods, such as hourly or daily, up to a 90-day limit.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for retrieving LVE resource usage data based on the desired period type and length.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

periodType
required
string
Enum: "day" "hour"

Specifies the time unit for the reporting period.

period
required
number [ 1 .. 90 ]

The number of days or hours to retrieve data for.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "periodType": "day",
  • "period": 30
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Disk usage

Retrieve the disk space usage for a specified hosting account. The response provides the total disk usage and detailed usage for directories and databases, all values returned in bytes.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters for retrieving disk usage data.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Visitors

Fetches statistics, providing insights into visitor data over a specified period. The returned data can be used to draw a visitor graph, offering a clear visualization of attendance trends.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to retrieve visitors statistics.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

period
required
string
Enum: "30d" "7d" "24h" "12h" "1h"

The time period for which to retrieve statistics.

domain
required
string

The domain for which to retrieve visitors statistics.

unique
boolean
Default: false

Specify whether to return only unique visitor data.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "period": "7d",
  • "domain": "domainexample.com",
  • "unique": false
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Cron

Set up and manage cron jobs on your hosting account.

Cron jobs are scheduled tasks that run automatically at specified intervals on a server. They are commonly used for automating repetitive tasks such as backups, data processing, sending notifications, and executing scripts.

By setting a cron email, you can receive output notifications from your scheduled tasks, helping you monitor their execution and troubleshoot any issues that may arise. This email address will be used to send alerts and information regarding the execution results of your cron jobs, ensuring you stay informed about their status.

List cron jobs

Get all the cron jobs in the account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

List Cron parameters.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Add cron job

This endpoint allows you to create and schedule a new cron job for your account.

By using this endpoint, you can specify the command to be executed and the schedule for its execution.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to configure the new cron job.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

schedule
required
string

Cron schedule syntax that defines when the cron job will run.

command
required
string

The command or script that the cron job will execute.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "schedule": "* * * * *",
  • "command": "whoami"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove cron job

This endpoint allows you to delete an existing cron job from your account.

You need to provide the unique identifier of the cron job you wish to remove.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required for the cron job removal.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

cronId
required
integer

The unique identifier of the cron job to be deleted. You can retrieve this ID by using the /v3/hosting/cron endpoint.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "cronId": "53da936e3fda2cfda1afbd87c4c843c8"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Set cron email

This endpoint allows you to set the email address that will receive the standard output (stdout) from your cron jobs. The specified email will be used to send notifications regarding the execution results of the scheduled commands.

Note: Ensure that the provided email address is valid, as it will be used for all cron job notifications associated with your account. Invalid email addresses may result in failed notifications.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters for setting the cron email.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

email
required
string

The email address that will receive notifications from cron jobs.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "email": "cronemail@mydomain.com"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Remove Cron Email

This endpoint allows you to remove an email address that is configured to receive notifications from cron jobs.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for removing the cron email.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Wordpress

Manage WordPress installations on your hosting account.

List Wordpress installations

This endpoint retrieves a comprehensive list of all WordPress installations associated with your account. Each installation includes details such as the file path, URL, and version of WordPress being used.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters for listing WordPress installations.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Install Wordpress

This endpoint allows you to install WordPress on your hosting account. You can specify installation settings such as the admin user, password, email, domain name, installation path, and more.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required for WordPress installation.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

adminUser
required
string

The administrator username for the WordPress installation.

adminPassword
required
string

The password for the administrator account.

adminEmail
required
string

The email address associated with the administrator account.

domain
required
string

The domain name where WordPress will be installed.

path
string

The directory path where WordPress should be installed.

title
required
string

The title of the WordPress site.

locale
string
Default: "fr_FR"

The locale for the WordPress installation (default is French).

https
boolean
Default: true

Indicates whether to use HTTPS for the WordPress site. Defaults to true.

object

Optional custom database settings for the WordPress installation.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "adminUser": "JohnDoe",
  • "adminPassword": "(%S0L1dP@SsW0RdZ%&)",
  • "adminEmail": "john@doe.com",
  • "domain": "domaineexample.com",
  • "path": "/blog",
  • "title": "Blog PlanetHoster",
  • "locale": "fr_FR",
  • "https": true,
  • "database": {
    }
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Delete Wordpress installation

This endpoint allows you to delete an existing WordPress installation from your hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

Parameters required to specify the WordPress installation to be removed.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

path
required
string

The full installation path of the WordPress site that you wish to delete.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "path": "/home/user/public_html/blog"
}

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Other CMS

Manage other CMS installations, such as Prestashop, Joomla, Drupal, and more.

List available CMS

Retrieve a list of content management systems (CMS) that are available for installation on your hosting account, along with their respective versions. This endpoint provides insights into the CMS options and their requirements, allowing you to make informed decisions about installations.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json

Parameters required to list available CMS installations:

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{}

List installed CMS

Retrieve a list of all CMS installations on the hosting account, including some configuration details.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Install CMS

Initiate the installation of a Content Management System (CMS) on the specified domain and path with the provided configurations.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required

The parameters required to install the CMS.

One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

cmsType
required
string

The type of CMS to be installed (e.g., Joomla, PrestaShop).

path
required
string

The installation path where the CMS will be installed relative to the domain.

domain
required
string

The domain name where the CMS will be hosted.

siteName
required
string

The title of the website.

adminName
required
string

The administrator username for the CMS admin panel.

adminPassword
required
string

The password for the administrator account.

email
required
string

The email address of the CMS administrator.

www
boolean
Default: false

Indicates whether to force the domain to use 'www'.

https
boolean
Default: true

Indicates whether to force HTTPS for the domain.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "cmsType": "joomla",
  • "path": "jooomla-test/",
  • "domain": "exampledomain.com",
  • "siteName": "Mon joomla de test",
  • "adminName": "JoomlaAdmin",
  • "adminPassword": "(%S0L1dP@SsW0RdZ%&)",
  • "email": "john@doe.com",
  • "www": false,
  • "https": true
}

Response samples

Content type
application/json
{
  • "data": "12fa6890-a2a2-223ea-a22a-847de9698035",
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

Delete CMS

Remove an existing CMS installation from the specified path on the hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
required
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

path
required
string

The installation path of the CMS to be deleted. This is the location where the CMS was installed.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc",
  • "path": "/jooomla-test"
}

Response samples

Content type
application/json
{
  • "data": { },
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}

List installation in progress

Retrieve a list of CMS installations that are currently in progress or were recently installed on the hosting account.

Authorizations:
(X-API-KEYX-API-USER)
Request Body schema: application/json
One of
id
required
integer

Hybricloud Server ID, can be found with the /v3/hybridcloud/info.

username
required
string

N0C HybridCloud username, can be found with the /v3/hybridcloud/info.

Responses

Request samples

Content type
application/json
Example
{
  • "id": "4444",
  • "username": "ffavexdc"
}

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "success": true,
  • "errors": [ ],
  • "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}