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.
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.4XX
or 5XX
, along with a JSON object containing an "error"
message and an optional "error_code"
integer.ETag
headers and supports the If-None-Match
header for cache validation.X-API-USER
and X-API-KEY
.Performs a simple test to verify the connection to the PlanetHoster API.
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/v3/hello'
{- "message": "Connected successfully",
- "successful_connection": true
}
Retrieve detailed information about your reseller account, including credits, currency, and the number of active orders, and domains.
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/v3/account/info'
{- "message": "Account information successfully obtained",
- "credit_remaining": 500.51,
- "credit_currency": "CAD",
- "num_active_orders": 3,
- "num_active_domains": 3
}
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.
currency_code | string Currency in which to retrieve the prices (e.g., USD, EUR, CAD). |
{- "currency_code": "EUR"
}
{- "message": "Successfully retrieved prices",
- "currency_code": "EUR",
- "tlds": {
- ".fr": {
- "register": 10,
- "transfer": 10,
- "renew": 10,
- "transfer_requires_epp_code": true,
- "id_protection_supported": false
}, - ".be": {
- "register": 6,
- "transfer": 6,
- "renew": 10,
- "transfer_requires_epp_code": false,
- "id_protection_supported": false
}
}
}
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.
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/v3/domains'
{- "num_active_domains": 5,
- "active_domains": [
- {
- "domain_name": "räksmörgås.josefsson.org",
- "idn_domain_name": "xn--rksmrgs-5wao1o.josefsson.org",
- "nameservers": {
- "ns1": "nsa.n0c.com",
- "ns2": "nsb.n0c.com",
- "ns3": "nsc.n0c.com"
}, - "registration_date": "2021-01-01",
- "next_invoice_date": "2025-01-01",
- "registration_period_in_years": 1,
- "registry_lock": false,
- "id_protection": true,
- "renew_enabled": true
}
]
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "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"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "available": true,
- "message": "Available",
- "is_premium": true,
- "premium_register_price": 100.11,
- "premium_renew_price": 100.11
}
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.
Parameters required to register the domain.
period required | integer [ 1 .. 10 ] The number of years to register the domain. |
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. |
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 |
addtl_field | object An object representing additional fields required for the specific TLD being registered. |
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. |
{- "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."
}
{- "message": "Domain registration order successfully created",
- "order_id": 2222,
- "order_total": 19.99,
- "expiry_date": "2024-02-02"
}
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.
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. |
{- "epp_code": "a!8/e!__Ph",
- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Successfully launch transfer"
}
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.
Parameters required for domain renewal.
period required | integer [ 1 .. 10 ] The number of years to renew the domain registration. |
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. |
{- "period": 2,
- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Domain renewal order created successfully",
- "order_id": "2222",
- "order_total": 9.95
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Contact(s) successfully obtained",
- "contacts": [
- {
- "name": "John doe",
- "company_name": "PlanetHoster",
- "addr": {
- "address1": "123 Melrose Avenue",
- "address2": "",
- "address3": "",
- "city": "Montreal",
- "state": "Quebec",
- "postal_code": "string",
- "country": "CA"
}, - "phone_number": "15145555555",
- "fax": "",
- "email": "johndoe@mydomain.com",
- "contact_type": "Registrant",
- "phone_extension": "12",
- "statuses": [
- "clientTransferProhibited"
]
}
]
}
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.
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. |
{- "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."
}
{- "message": "Contact(s) successfully saved"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Lock status successfully obtained",
- "is_locked": true,
- "domain_name": "mydomain.com"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Lock status successfully saved (Locked)",
- "is_locked": true,
- "domain_name": "mydomain.com"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Lock status successfully saved (Locked)",
- "is_locked": true,
- "domain_name": "mydomain.com"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Nameservers successfully obtained",
- "nameservers": [
- "ns1.resellersite.com",
- "ns2.resellersite.com"
]
}
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.
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. |
{- "ns1": "ns1.resellersite.com",
- "ns2": "ns2.resellersite.net",
- "ns3": "ns3.resellersite.com",
- "ns4": "ns4.resellersite.com",
- "ns5": "ns5.resellersite.com",
- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Nameserver(s) successfully saved"
}
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.
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. |
{- "sld": "mydomain",
- "tld": "com"
}
{- "message": "Epp code successfully sent to registrant email",
- "epp_code_sent_to": "admin@mydomain.com",
- "domain_name": "mydomain.com"
}
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.
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/v3/the-world/info'
{- "available_resources": {
- "cpu": 6,
- "io": 12,
- "mem": 12
}, - "nb_active_or_suspended_accounts": 1,
- "world_accounts": [
- {
- "id": 2222,
- "status": "Active",
- "username": "dhshlkdf",
- "domain": "test-domain.com",
- "hostname": "world-server.test.planethoster.net",
- "location": "CA",
- "platform": "N0C",
- "resources": {
- "cpu": 6,
- "io": 12,
- "mem": 12
}
}
]
}
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.
curl -X GET \ -H "X-API-KEY: XXXXX" \ -H "X-API-USER: XXXXX" \ 'https://api.planethoster.net/v3/hybridcloud/info'
{- "nb_n0c_hybridcloud": 2,
- "n0c_hybridclouds": [
- {
- "id": 2222,
- "hostname": "hc-lovelysuperfrog-ca.n0c.com",
- "ip": "192.168.0.1",
- "location": "Canada (Quebec)",
- "cpu": 16,
- "disk_space": 60,
- "memory": 32,
- "world_accounts": [
- {
- "username": "dhshlkdf",
- "status": "ACTIVE",
- "createdAt": "2023-12-05T23:09:59.000Z",
- "domain": "test-domain.com",
- "resources": {
- "cpu": 8,
- "io": 24,
- "mem": 24,
- "diskQuota": 110240,
- "diskUsage": 1862.4453125
}
}
]
}
]
}
Creates a new N0C account on either a HybridCloud or The World hosting platform, allocating the specified resources and optionally pre-installing a CMS.
Parameters required to create the account.
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. |
{- "id": "4444",
- "disk_space": 10,
- "domain": "test-domain.com",
- "cpu": 2,
- "memory": 4,
- "io": 2,
- "cms_name": "wp"
}
{- "account_created": true,
- "server_hostname": "world-server.planethoster.com",
- "server_ip": "199.16.XX.XXX",
- "id": 2222,
- "username": "usernamexyz",
- "password": "XXXXXXXXXXXXXXX"
}
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.
Parameters to modify an hosting account.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "disk_space": 10,
- "cpu": 2,
- "memory": 4,
- "io": 2
}
{- "cpu_updated": true,
- "mem_updated": true,
- "io_updated": true,
- "errors": [ ]
}
Permanently deletes a N0C account from either the HybridCloud or The World hosting platforms.
Note: The account must be suspended prior to deletion.
Parameters required for account deletion.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "password": "*2CO6cdy4M8Tv)"
}
{- "message": "Successfully terminate account"
}
Initiates the suspension of a World account. Provide a reason for the suspension to ensure proper record-keeping.
Parameters required to suspend 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. |
reason required | string The reason for the account suspension. |
{- "id": "4444",
- "username": "ffavexdc",
- "reason": "Suspension reason"
}
{- "account_suspended": true,
- "message": "Successfully suspend account",
- "suspension_reason": "Suspension reason"
}
Reactivates a suspended World hosting account, restoring access to the services associated with the account.
Parameters required to unsuspend a suspended 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "account_unsuspended": true,
- "message": "Successfully unsuspend account"
}
Enables a temporary URL for the primary domain of a hosting account, allowing access via a unique URL during development or maintenance.
Parameters required to enable the temporary URL.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "success": true,
- "data": {
- "temporaryUrl": "string"
}
}
Disables the temporary URL for the primary domain of a hosting account, removing the temporary access link.
Parameters required to disable the temporary URL.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "success": true,
- "data": { }
}
Retrieve a list of all email accounts associated with a specific account.
Parameters required to retrieve the email accounts.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "id": 1111,
- "domain": "mydomain.com",
- "status": "ACTIVE",
- "email": "myemail@mydomain.com",
- "quota": 0
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Creates a new email address associated with a specified domain.
Parameters required to create the new email 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "mailUser": "info",
- "quota": 5000
}
{- "data": {
- "message": "Successfully create email account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Updates the password and/or quota of an existing email account.
Parameters for modifying the email 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "mailUser": "info",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "quota": 5000
}
{- "data": [
- {
- "message": "Successfully changed quota"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Deletes an email address from the specified domain.
Parameters required to delete the email 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "mailUser": "info"
}
{- "data": {
- "message": "Successfully delete email account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Suspend one or more email addresses associated with the account.
Parameters required to suspend email addresses.
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. |
{- "email": "info@mydomain.com",
- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Successfully suspend account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Reinstate one or more previously suspended email addresses associated with the account.
Parameters required to unsuspend email addresses.
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. |
{- "email": "info@mydomain.com",
- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Successfully unsuspend account"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the current email authentication status for the specified domain.
Parameters required to check email authentication.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "usingPhDns": true,
- "dkim": true,
- "spf": true,
- "dMarc": true,
- "values": {
- "dkim": "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5QIFGpMwZAL3/VQmcrmclI28Ivdt4QqgsQjHM31iCBHsDP+72CI8HAJHUK7dQZO02kEU3NzyiDzKsXQzQz94vDa2oJUscuUbON8ikjPRCFpAQ99DGiCH6gwDz1ZRkO2rJogi8WEvmN5aePYbM5lKOkjdSPs0e3XvVfox0XhrqkQIDAQAB",
- "spf": "v=spf1 a mx ip4:199.188.220.177 ~all",
- "dMarc": "v=DMARC1; p=none"
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Activate a specific email authentication method for the given domain.
Parameters required to enable email authentication.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "auth": "dkim"
}
{- "data": {
- "message": "Successfully enable DKIM"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Deactivate a specific email authentication method for the given domain.
Parameters required to disable email authentication.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "auth": "dkim"
}
{- "data": {
- "message": "Successfully disable DKIM"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve all configured email forwarders for an account.
Parameters required to retrieve the list of email forwarders.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "id": 1111,
- "kind": "standard",
- "forwarder": "myemail",
- "domain": "mydomain.com",
- "forwardTo": [
- "info@mydomain.com"
], - "keepCopy": false
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create a new email forwarder for an email address.
Parameters for creating an email forwarder.
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. |
{- "kind": "standard",
- "forwarder": "myemail",
- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "forwardTo": [
- "your@mydomain.com"
], - "keepCopy": false
}
{- "data": {
- "id": 1111,
- "message": "Successfully created email forwarder"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update an existing email forwarder.
Parameters for editing an email forwarder.
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. |
{- "kind": "standard",
- "forwarder": "myemail",
- "id": "4444",
- "username": "ffavexdc",
- "forwarder_id": 935,
- "domain": "mydomain.com",
- "forwardTo": [
- "your@mydomain.com"
], - "keepCopy": false
}
{- "data": {
- "id": 1111,
- "message": "Successfully created email forwarder"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Delete an existing email forwarder.
Parameters for deleting an email forwarder.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "forwarder_id": 935
}
{- "data": {
- "message": "Successfully deleted email forwarder"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve a list of all domains associated with the hosting account.
Parameters required to list all domains.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "id": 1111,
- "domain": "mydomain.com",
- "status": "ACTIVE",
- "type": "MAINDOMAIN",
- "docroot": "/home/username/public_html",
- "modsec": true,
- "haveCert": true,
- "certExpireAt": "2022-01-22T10:00:20.000Z"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Adds a new domain or sub-domain to your hosting account.
Parameters required to add a new domain.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "subDomain": "sub1",
- "docroot": "public_html/mydomain/"
}
{- "data": {
- "message": "Successfully set domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Updates the document root for an existing domain.
Parameters required to update the domain document root.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "docroot": "public_html/mydomain/"
}
{- "data": {
- "message": "Successfully set domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Removes the specified domain from the N0C account.
Parameters required to remove a domain.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully remove domain"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Suspend one or multiple domains associated with the hosting account.
Parameters specifying the domains to be suspended.
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. |
{- "domain": "mydomain.com",
- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Domains suspended successfully"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Unsuspend one or multiple domains associated with the hosting account.
Parameters specifying the domains to be unsuspended.
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. |
{- "domain": "mydomain.com",
- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Domains unsuspended successfully"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve the DNS zone.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "rrsets": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
]
}
{- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": [
- {
- "type": "TXT",
- "name": "mail.mydomain.com",
- "ttl": 14400,
- "records": [
- {
- "value": "mydomain.com"
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve the SSL certificate.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "status": "active",
- "expireAt": "2024-12-20T04:05:20.000Z",
- "lastError": null,
- "errorCode": null,
- "requestedAt": "2024-09-21T05:03:38.000Z",
- "issuer": "Let's Encrypt"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to initiate the SSL renewal process.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "jobId": "408122"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Fetch the Custom SSL certificate installed for a specified domain. This endpoint allows you to retrieve both the certificate and its associated private key.
Parameters needed to retrieve the SSL certificate.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "cert": "-----BEGIN CERTIFICATE-----\r\nMIIDqTCCApGgAwIBAgIUf0ySBv1sC/ZP9c67Zu42itgRmOswDQYJKoZIhvcNAQEL\r\nBQAwfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYWJlcmJldGEueHl6MQswCQYDVQQG\r\nEwJDQTELMAkGA1UECBMCUUMxETAPBgNVBAcTCE1vbnRyZWFsMRUwEwYDVQQKEwxQ\r\nbGFuZXRob3N0ZXIxFDASBgNVBAsTC0RldmVsb3BtZW50MB4XDTI0MDkxNzE3MDMw\r\nMFoXDTI0MTAxNzE3MDMwMFowfTEhMB8GA1UEAxMYbW9yZWhjdGVzdC5zYW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c/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"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for the custom SSL installation.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "certificate": "-----BEGIN CERTIFICATE-----\r\nMIIDqTCCApGgAwIBAgIUf0ySBv1sC/ZP9c67Zu42itgRmOswDQYJKoZIhvcNAQEL\r\nBQAwfTEhMB8GA1UEAxMYbW9yZWhjdG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SSA\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"
}
{- "data": {
- "message": "Successfully installed custom ssl"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for the deletion of the custom SSL certificate.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "jobId": "408122"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for validating the custom SSL certificate.
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. |
{- "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"
}
{- "data": {
- "valid": true
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to fetch CSRs.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
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oZIhvcNAQEL\r\nBQADggEBAMBxvrretSf0nkXqb+n21dk2r4mThxA2Z9pHoWZu1VPJL+GXKebQoeIV\r\nCtcW53x0RdhN3ay/Q+gzwi1AWkS01BZJiMgP3obHsvtMmSE0w4UXVo2sKWjiKRBn\r\n5AlfuyJoc2s99MYNwey8f5atb3IdwrjocHDJfEtVJD51l+rhsJm+jiLr0raO5j5x\r\npBLdCu4YTrUmJIV5hzvsVDRFUOAyF/32cCWCOH7pCwutAVmck6Umntqt1sTotvw5\r\nfoJ3E6yKQh9YgD5jVoE9rEoVkkCDZYSQn8kXld/5ZbfNXEsIRHOmei+7PfOGiiA3\r\ngUlUbmDBbpLG/OxC4oNFEHKtZI1b4Os=\r\n-----END CERTIFICATE-----\r\n",
- "csrPubKeyFingerPrint": "04858123304ae807a8a600423bd460a8bcb9abf3",
- "attributes": [
- {
- "name": "commonName",
- "value": "mydomain.com"
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for CSR creation.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "countryCode": "CA",
- "state": "Quebec",
- "localityName": "Montreal",
- "organizationName": "MyBusiness Inc.",
- "organizationUnitName": "Development",
- "email": "myemail@mydomain.com"
}
{- "data": {
- "csr": "-----BEGIN CERTIFICATE REQUEST-----\r\nMIIC/DCCAeQCA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0RdhN3ay/Q+gzwi1AWkS01BZJiMgP3obHsvtMmSE0w4UXVo2sKWjiKRBn\r\n5AlfuyJoc2s99MYNwey8f5atb3IdwrjocHDJfEtVJD51l+rhsJm+jiLr0raO5j5x\r\npBLdCu4YTrUmJIV5hzvsVDRFUOAyF/32cCWCOH7pCwutAVmck6Umntqt1sTotvw5\r\nfoJ3E6yKQh9YgD5jVoE9rEoVkkCDZYSQn8kXld/5ZbfNXEsIRHOmei+7PfOGiiA3\r\ngUlUbmDBbpLG/OxC4oNFEHKtZI1b4Os=\r\n-----END CERTIFICATE-----\r\n"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to delete the CSR.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "csrPubKeyFingerPrint": "04858123304ae807a8a600423bd460a8bcb9abf3"
}
{- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve the private key for the specified CSR.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "csrPubKeyFingerPrint": "04858123304ae807a8a600423bd460a8bcb9abf3"
}
{- "data": {
- "privateKey":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LfG9hBR7shAEonuYNTOvwhneh\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"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for listing redirections.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "domain": "mydomain.com",
- "https": true,
- "www": true,
- "rType": 301,
- "domainRedirection": true
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to set up the redirection.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "rType": 301,
}
{- "data": {
- "message": "Successfully add redirection"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to delete the redirection.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully delete redirection"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Configure PHP settings for your hosting account, including versions and extensions.
Retrieve a list of all available PHP versions, including the current active version and the default version for the hosting environment.
Parameters to list available PHP versions.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "currentVersion": "8.2",
- "defaultVersion": "8.1",
- "availableVersions": [
- "5.4",
- "7.4",
- "8.2"
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get the currently active PHP version configured for the hosting environment.
Request parameters to retrieve the current PHP version.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "phpVersion": "8.2"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Change the PHP version currently active for the hosting environment to the specified version.
Parameters required to update the PHP version for the hosting 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. |
version required | string The PHP version to set as active on the account. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3"
}
{- "data": {
- "message": "Successfully set active PHP version"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the available configuration options for a specific PHP version.
Parameters required to fetch the configuration options for a specific PHP version.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3"
}
{- "data": {
- "allow_url_fopen": {
- "default": "On",
- "comment": "Allows PHP file functions to retrieve data from remote locations over FTP or HTTP. This option is a great security risk, thus do not turn it on without necessity.",
- "type": "bool"
}, - "memory_limit": {
- "default": "512M",
- "comment": "The maximum amount of memory in bytes a script is allowed to allocate. Set the value to -1 to have no memory limit (not recommended). Use shortcuts for byte values: K (kilo), M (mega), and G (giga). For example, 128M",
- "type": "list",
- "range": "64M,128M,192M,256M,368M,512M,1G",
- "value": "256M"
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update configuration options for a specified PHP version.
Parameters required to update the configuration options for a specified PHP version.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3",
- "options": {
- "display_errors": "on",
- "memory_limit": "256M"
}
}
{- "data": {
- "message": "Successfully set PHP options"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Reset all PHP configuration options to their default values for a specified PHP version.
Parameters required to reset the PHP options to their default values.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3"
}
{- "data": {
- "message": "Successfully reset PHP options to default values"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the list of available PHP extensions and their statuses for a specific PHP version.
Parameters required to retrieve the extensions for the specified PHP version.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3"
}
{- "data": {
- "imagick": "on",
- "date": "builtin",
- "pdf": "off"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Enable or disable PHP extensions for a specified PHP version.
Parameters required to modify the PHP extensions for the specified PHP version.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3",
- "extensions": {
- "enabled": [
- "imagick"
], - "disabled": [
- "uploadprogress"
]
}
}
{- "data": {
- "activatedExtensions": [
- "imagick"
], - "disabledExtensions": [
- "uploadprogress"
], - "warnings": [ ]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Reset all PHP extensions to their default values for a specified PHP version.
Parameters required to reset the PHP extensions to their default values.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "version": "8.3"
}
{- "data": {
- "message": "Successfully reset PHP extensions to default values"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Manage Node.js applications, including deployment and environment configurations.
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.
Parameters required to fetch the list of available Node.js versions.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "interpreter": "nodejs",
- "versions": [
- "16",
- "18",
- "20"
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list Node.js applications.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "appRoot": "myapp_node",
- "version": "20",
- "uri": "node/new",
- "domain": "mydomain.com",
- "startUpFile": "start.js",
- "status": "started",
- "srcActive": "/home/wrfqyfwe/nodevenv/myapp_node/20/bin/activate"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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).
Parameters required to create a Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com",
- "startUpFile": "start.js",
- "uri": "node/new",
- "version": "20",
- "appMode": "development"
}
{- "data": {
- "result": "success",
- "timestamp": 1727963354.9170904
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters to modify an existing Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "newDomain": "mydomain.com",
- "startUpFile": "start.js",
- "newUri": "node/new",
- "version": "20",
- "newAppMode": "development",
- "newAppRoot": "myapp"
}
{- "data": [
- {
- "message": "Successfully initiated nodejs app version change"
}, - {
- "message": "Successfully updated nodejs app configuration"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Permanently delete an existing Node.js application from your hosting account. This action removes the application, and its associated configurations.
Parameters required to delete a Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp"
}
{- "data": {
- "result": "success",
- "timestamp": 1727963354.9170904
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to start the Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully started nodejs application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to stop the Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully stopped nodejs application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to restart the Node.js application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully restarted nodejs application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Manage Ruby applications, including version management and environment configurations.
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.
Parameters required to fetch the list of available Ruby versions.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "interpreter": "ruby",
- "versions": [
- "2.7",
- "3.7",
- "3.12"
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list Ruby applications.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "appRoot": "myapp_ruby",
- "version": "3.1",
- "uri": "ruby/new",
- "domain": "mydomain.com",
- "srcActive": "source /home/wrfqyfwe/rubyvenv/myapp__ruby/3.1/bin/activate"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to create a Ruby application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com",
- "uri": "ruby/new",
- "version": "3.1"
}
{- "status": "OK",
- "data": {
- "status": "string",
- "data": {
- "myapp_ruby": {
- "domain": "mydomain.com",
- "alias": "ruby",
- "environment": "3.1",
- "interpreter": {
- "prefix": "/home/user/rubyvenv/myapp_ruby/3.1",
- "binary": "/home/user/rubyvenv/myapp_ruby/3.1/bin/ruby",
- "version": "3.1",
- "version_full": "3.1.4"
}, - "extensions": {
}
}, - "myapp_ruby2": {
- "domain": "myapi.com",
- "alias": "ruby",
- "environment": "3.1",
- "interpreter": {
- "prefix": "/home/user/rubyvenv/myapp_ruby/3.1",
- "binary": "/home/user/rubyvenv/myapp_ruby/3.1/bin/ruby",
- "version": "3.1",
- "version_full": "3.1.4"
}, - "extensions": {
}, - "domains": [
- "myapi.com",
- "myotherdomain.com"
]
}
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters to modify an existing Ruby application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "newDomain": "mydomain.com",
- "newUri": "ruby/new",
- "version": "3.1",
- "newAppRoot": "myapp"
}
{- "data": [
- {
- "message": "Successfully initiated ruby app version change"
}, - {
- "message": "Successfully updated ruby app configuration"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Permanently delete an existing Ruby application from your hosting account. This action removes the application, and its associated configurations.
Parameters required to delete a Ruby application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp"
}
{- "data": {
- "result": "success",
- "timestamp": 1727963354.9170904
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to restart the Ruby application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully restarted ruby application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to fetch the list of available Python versions.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "interpreter": "python",
- "versions": [
- "2.7",
- "3.7",
- "3.12"
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list Python applications.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "appRoot": "myapp_python",
- "version": "3.11",
- "uri": "python/new",
- "domain": "mydomain.com",
- "startUpFile": "run.py",
- "status": "started",
- "srcActive": "/home/wrfqyfwe/virtualenv/python/3.11/bin/activate"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to create a Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com",
- "startUpFile": "run.py",
- "uri": "python/new",
- "version": "3.10"
}
{- "data": {
- "result": "success",
- "timestamp": 1727963354.9170904
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters to modify an existing Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "newDomain": "mydomain.com",
- "startUpFile": "run.py",
- "newUri": "python/new",
- "version": "3.10",
- "newAppRoot": "myapp"
}
{- "data": [
- {
- "message": "Successfully initiated python app version change"
}, - {
- "message": "Successfully updated python app configuration"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Permanently delete an existing Python application from your hosting account. This action removes the application, and its associated configurations.
Parameters required to delete a Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp"
}
{- "data": {
- "result": "success",
- "timestamp": 1727963354.9170904
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to start the Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully started python application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to stop the Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully stopped python application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to restart the Python application.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "appRoot": "myapp",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Successfully restarted python application"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Retrieve a list of all databases associated with the account for either MySQL or PostgreSQL.
Parameters required to list the databases.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "databaseType": "MYSQL"
}
{- "data": [
- {
- "name": "username_dbname",
- "databaseUsers": [
- {
- "name": "username_dbuser",
- "permissions": [
- "ALTER"
]
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve the disk usage information for databases.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "databaseType": "MYSQL"
}
{- "data": {
- "total": 23213481,
- "dbSize": {
- "user_database1": 7737827,
- "user_database2": 7737827,
- "user_database3": 7737827
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Create a new database for the account, which can be either MySQL or PostgreSQL.
The parameters required to create a new 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "name": "mydatabase",
- "databaseType": "MYSQL"
}
{- "data": {
- "message": "Successfully create database"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Delete an existing database from the account, which can be either MySQL or PostgreSQL.
The parameters required to remove a 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "name": "mydatabase",
- "databaseType": "MYSQL"
}
{- "data": {
- "message": "Successfully delete database"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve a list of all database users associated with the account for MySQL or PostgreSQL.
Parameters required to list database users.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "databaseType": "MYSQL"
}
{- "data": [
- [
- "username_dbuser1",
- "username_dbuser2"
]
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
This endpoint allows you to create a new databases user, which can be either MySQL or PostgreSQL.
Parameters required to create a new database 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "dbUser": "newuser",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "databaseType": "MYSQL"
}
{- "data": {
- "message": "Successfully create database user"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
This endpoint allows you to modify an existing databases user, which can be either MySQL or PostgreSQL.
Parameters required to modify a database 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "databaseUsername": "newuser",
- "newDatabaseUsername": "neweruser",
- "newPassword": "(%S0L1dP@SsW0RdZ%&)",
- "databaseType": "MYSQL"
}
{- "data": [
- "Successfully updated database user password",
- "Successfully updated database username"
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
This endpoint allows you to remove an existing database user, which can be either MySQL or PostgreSQL.
Parameters required to remove a database 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "dbUser": "newuser",
- "databaseType": "MYSQL"
}
{- "data": {
- "message": "Successfully remove database user"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to grant database permissions.
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. |
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. |
{- "databaseType": "MYSQL",
- "privileges": "ALL PRIVILEGES",
- "id": "4444",
- "username": "ffavexdc",
- "databaseName": "existing_database",
- "databaseUsername": "existing_user"
}
{- "data": {
- "message": "Successfully grant access"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to revoke database permissions.
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. |
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. |
{- "databaseType": "MYSQL",
- "privileges": "ALL PRIVILEGES",
- "id": "4444",
- "username": "ffavexdc",
- "databaseName": "existing_database",
- "databaseUsername": "existing_user"
}
{- "data": {
- "message": "Successfully remove access"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieves the phpMyAdmin autologin URL for the specified account, allowing direct access to phpMyAdmin without requiring manual login.
Parameters required to retrieve the phpMyAdmin autologin URL.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieves the phpPgAdmin autologin URL for the specified account, allowing direct access to phpPgAdmin without requiring manual login.
Parameters required to retrieve the phpPgAdmin autologin URL.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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 the LiteSpeed cache for a specified domain, ensuring the latest content is served.
Parameters required to flush the LiteSpeed cache.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "message": "Cache flushed successfully"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the current status and performance statistics of the Memcached service for your account.
Request parameters needed to fetch the Memcached status.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "enabled": true,
- "active": true,
- "stats": {
- "pid": "3317379",
- "uptime": "235666",
- "time": "1731334656",
- "version": "1.6.32",
- "libevent": "2.1.8-stable",
- "pointer_size": "64",
- "rusage_user": "26.342936",
- "rusage_system": "7.120088",
- "max_connections": "1024",
- "curr_connections": "1",
- "total_connections": "5",
- "rejected_connections": "0",
- "connection_structures": "2",
- "response_obj_oom": "0",
- "response_obj_count": "1",
- "response_obj_bytes": "65536",
- "read_buf_count": "8",
- "read_buf_bytes": "131072",
- "read_buf_bytes_free": "49152",
- "read_buf_oom": "0",
- "reserved_fds": "20",
- "cmd_get": "0",
- "cmd_set": "0",
- "cmd_flush": "1",
- "cmd_touch": "0",
- "cmd_meta": "0",
- "get_hits": "0",
- "get_misses": "0",
- "get_expired": "0",
- "get_flushed": "0",
- "delete_misses": "0",
- "delete_hits": "0",
- "incr_misses": "0",
- "incr_hits": "0",
- "decr_misses": "0",
- "decr_hits": "0",
- "cas_misses": "0",
- "cas_hits": "0",
- "cas_badval": "0",
- "touch_hits": "0",
- "touch_misses": "0",
- "store_too_large": "0",
- "store_no_memory": "0",
- "auth_cmds": "0",
- "auth_errors": "0",
- "bytes_read": "28",
- "bytes_written": "4423",
- "limit_maxbytes": "67108864",
- "accepting_conns": "1",
- "listen_disabled_num": "0",
- "time_in_listen_disabled_us": "0",
- "threads": "4",
- "conn_yields": "0",
- "hash_power_level": "16",
- "hash_bytes": "524288",
- "hash_is_expanding": "0",
- "slab_reassign_rescues": "0",
- "slab_reassign_chunk_rescues": "0",
- "slab_reassign_evictions_nomem": "0",
- "slab_reassign_inline_reclaim": "0",
- "slab_reassign_busy_items": "0",
- "slab_reassign_busy_deletes": "0",
- "slab_reassign_running": "0",
- "slabs_moved": "0",
- "lru_crawler_running": "0",
- "lru_crawler_starts": "95",
- "lru_maintainer_juggles": "235657",
- "malloc_fails": "0",
- "log_worker_dropped": "0",
- "log_worker_written": "0",
- "log_watcher_skipped": "0",
- "log_watcher_sent": "0",
- "log_watchers": "0",
- "unexpected_napi_ids": "0",
- "round_robin_fallback": "0",
- "bytes": "0",
- "curr_items": "0",
- "total_items": "0",
- "slab_global_page_pool": "0",
- "expired_unfetched": "0",
- "evicted_unfetched": "0",
- "evicted_active": "0",
- "evictions": "0",
- "reclaimed": "0",
- "crawler_reclaimed": "0",
- "crawler_items_checked": "0",
- "lrutail_reflocked": "0",
- "moves_to_cold": "0",
- "moves_to_warm": "0",
- "moves_within_lru": "0",
- "direct_reclaims": "0",
- "lru_bumps_dropped": "0"
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Send a command to control the Memcached service for your account (e.g., start, stop, restart, on, or off).
Parameters required to perform an action on the Memcached service.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "serviceAction": "on"
}
{- "data": {
- "message": "Successfully enabled and started memcached@myuser service",
- "raw": ""
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to flush the Memcached cache.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": "Successfully cleared memcached cache.",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the current status and detailed performance statistics of the Redis service for your account.
Parameters required to fetch the current status and statistics of the Redis service.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "enabled": true,
- "active": true,
- "stats": {
- "Server": {
- "redis_version": "6.2.16",
- "redis_git_sha1": "00000000",
- "redis_git_dirty": "0",
- "redis_build_id": "f2117363f6407fbe",
- "redis_mode": "standalone",
- "os": "Linux 4.18.0-513.18.1.lve.el8.x86_64 x86_64",
- "arch_bits": "64",
- "monotonic_clock": "POSIX clock_gettime",
- "multiplexing_api": "epoll",
- "atomicvar_api": "c11-builtin",
- "gcc_version": "8.5.0",
- "process_id": "3870532",
- "process_supervised": "no",
- "run_id": "92b5d1447d8aa2e2cd1ed8c37ecd2861136f1ef9",
- "tcp_port": "0",
- "server_time_usec": "1731334752694569",
- "uptime_in_seconds": "11",
- "uptime_in_days": "0",
- "hz": "10",
- "configured_hz": "10",
- "lru_clock": "3281504",
- "executable": "/usr/bin/redis-server",
- "config_file": "",
- "io_threads_active": "0"
}, - "Clients": {
- "connected_clients": "1",
- "cluster_connections": "0",
- "maxclients": "10000",
- "client_recent_max_input_buffer": "0",
- "client_recent_max_output_buffer": "0",
- "blocked_clients": "0",
- "tracking_clients": "0",
- "clients_in_timeout_table": "0"
}, - "Memory": {
- "used_memory": "876224",
- "used_memory_human": "855.69K",
- "used_memory_rss": "5349376",
- "used_memory_rss_human": "5.10M",
- "used_memory_peak": "876224",
- "used_memory_peak_human": "855.69K",
- "used_memory_peak_perc": "100.02%",
- "used_memory_overhead": "812328",
- "used_memory_startup": "812328",
- "used_memory_dataset": "63896",
- "used_memory_dataset_perc": "100.00%",
- "allocator_allocated": "1225656",
- "allocator_active": "1413120",
- "allocator_resident": "4571136",
- "total_system_memory": "33423548416",
- "total_system_memory_human": "31.13G",
- "used_memory_lua": "30720",
- "used_memory_lua_human": "30.00K",
- "used_memory_scripts": "0",
- "used_memory_scripts_human": "0B",
- "number_of_cached_scripts": "0",
- "maxmemory": "67108864",
- "maxmemory_human": "64.00M",
- "maxmemory_policy": "allkeys-lru",
- "allocator_frag_ratio": "1.15",
- "allocator_frag_bytes": "187464",
- "allocator_rss_ratio": "3.23",
- "allocator_rss_bytes": "3158016",
- "rss_overhead_ratio": "1.17",
- "rss_overhead_bytes": "778240",
- "mem_fragmentation_ratio": "6.58",
- "mem_fragmentation_bytes": "4536864",
- "mem_not_counted_for_evict": "0",
- "mem_replication_backlog": "0",
- "mem_clients_slaves": "0",
- "mem_clients_normal": "0",
- "mem_aof_buffer": "0",
- "mem_allocator": "jemalloc-5.1.0",
- "active_defrag_running": "0",
- "lazyfree_pending_objects": "0",
- "lazyfreed_objects": "0"
}, - "Persistence": {
- "loading": "0",
- "current_cow_size": "0",
- "current_cow_size_age": "0",
- "current_fork_perc": "0.00",
- "current_save_keys_processed": "0",
- "current_save_keys_total": "0",
- "rdb_changes_since_last_save": "1",
- "rdb_bgsave_in_progress": "0",
- "rdb_last_save_time": "1731334747",
- "rdb_last_bgsave_status": "ok",
- "rdb_last_bgsave_time_sec": "-1",
- "rdb_current_bgsave_time_sec": "-1",
- "rdb_last_cow_size": "0",
- "aof_enabled": "0",
- "aof_rewrite_in_progress": "0",
- "aof_rewrite_scheduled": "0",
- "aof_last_rewrite_time_sec": "-1",
- "aof_current_rewrite_time_sec": "-1",
- "aof_last_bgrewrite_status": "ok",
- "aof_last_write_status": "ok",
- "aof_last_cow_size": "0",
- "module_fork_in_progress": "0",
- "module_fork_last_cow_size": "0"
}, - "Stats": {
- "total_connections_received": "3",
- "total_commands_processed": "2",
- "instantaneous_ops_per_sec": "0",
- "total_net_input_bytes": "46",
- "total_net_output_bytes": "4122",
- "instantaneous_input_kbps": "0.00",
- "instantaneous_output_kbps": "0.00",
- "rejected_connections": "0",
- "sync_full": "0",
- "sync_partial_ok": "0",
- "sync_partial_err": "0",
- "expired_keys": "0",
- "expired_stale_perc": "0.00",
- "expired_time_cap_reached_count": "0",
- "expire_cycle_cpu_milliseconds": "0",
- "evicted_keys": "0",
- "keyspace_hits": "0",
- "keyspace_misses": "0",
- "pubsub_channels": "0",
- "pubsub_patterns": "0",
- "latest_fork_usec": "0",
- "total_forks": "0",
- "migrate_cached_sockets": "0",
- "slave_expires_tracked_keys": "0",
- "active_defrag_hits": "0",
- "active_defrag_misses": "0",
- "active_defrag_key_hits": "0",
- "active_defrag_key_misses": "0",
- "tracking_total_keys": "0",
- "tracking_total_items": "0",
- "tracking_total_prefixes": "0",
- "unexpected_error_replies": "0",
- "total_error_replies": "0",
- "dump_payload_sanitizations": "0",
- "total_reads_processed": "5",
- "total_writes_processed": "2",
- "io_threaded_reads_processed": "0",
- "io_threaded_writes_processed": "0"
}, - "Replication": {
- "role": "master",
- "connected_slaves": "0",
- "master_failover_state": "no-failover",
- "master_replid": "d847c8cfd49b4c1a8c8d7c94050891414f4dfcfc",
- "master_replid2": "0000000000000000000000000000000000000000",
- "master_repl_offset": "0",
- "second_repl_offset": "-1",
- "repl_backlog_active": "0",
- "repl_backlog_size": "1048576",
- "repl_backlog_first_byte_offset": "0",
- "repl_backlog_histlen": "0"
}, - "CPU": {
- "used_cpu_sys": "0.009583",
- "used_cpu_user": "0.011974",
- "used_cpu_sys_children": "0.000000",
- "used_cpu_user_children": "0.000000",
- "used_cpu_sys_main_thread": "0.009476",
- "used_cpu_user_main_thread": "0.011591"
}, - "Modules": null,
- "Errorstats": null,
- "Cluster": {
- "cluster_enabled": "0"
}, - "Keyspace": null
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Send a command to control the Redis service for your account (e.g., start, stop, restart, on, or off).
Parameters required to perform an action on the Redis service.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "serviceAction": "on"
}
{- "data": {
- "message": "Successfully enabled and started redis@myuser service",
- "raw": ""
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to flush all Redis caches.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": "Successfully flushed all redis databases.",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get the N0C Storage account information for your hosting 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "id": 344,
- "name": "ffavexdc",
- "s3user": "ffavexdc:ffavexdc",
- "accessKey": "string",
- "secretKey": "string",
- "maxSizeKb": 0,
- "maxObjects": 0,
- "suspended": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "usage": {
- "size": 0,
- "max_size": 0,
- "size_kb": 0,
- "max_size_kb": 0,
- "num_objects": 0,
- "max_num_objects": 0
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Initialize a N0C Storage account for your hosting 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Successfully initialized N0C Storage"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Reset the N0C Storage credentials for a hosting 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Successfully reset N0C Storage access"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Get the N0C Storage URLs for your hosting 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "urls": [
- {
- "id": 0,
- "uri": "/test/",
- "dest": "/public/",
- "domain": "mydomain.com"
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add a N0C Storage URL to your hosting 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. |
uri required | string N0C Storage URI. |
domain | string Domain for the N0C Storage URL. Applies to all your domains if not specified. |
{- "id": "4444",
- "username": "ffavexdc",
- "uri": "/test/",
- "domain": "mydomain.com"
}
{- "data": {
- "id": 0,
- "uri": "/test/",
- "dest": "/public/",
- "domain": "mydomain.com"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update a N0C Storage URL for your hosting 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "urlId": 0,
- "uri": "/test/",
- "domain": "mydomain.com"
}
{- "data": {
- "id": 0,
- "uri": "/test/",
- "dest": "/public/",
- "domain": "mydomain.com"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Delete a N0C Storage URL from your hosting 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. |
urlId required | integer N0C Storage URL ID. |
{- "id": "4444",
- "username": "ffavexdc",
- "urlId": 123
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list the SSH keys for 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "keys": [
- {
- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "comment": "Home key",
- "fromIps": [
- "1.1.1.1",
- "2.2.2.2"
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Add a new SSH public key to the N0C account. This allows secure SSH access using the provided key.
Parameters required to add the SSH key, including the public key, comment, and optional allowed IPs.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "pKey": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDSkT3A1j89RT/540ghIMHXIVwNlAEM3WtmqVG7YN/wYwtsJ8iCszg4/lXQsfLFxYmEVe8L9atgtMGCi5QdYPl4X/c+5YxFfm88Yjfx+2xEgUdOr864eaI22yaNMQ0AlyilmK+PcSyxKP4dzkf6B5Nsw8lhfB5n9F5md6GHLLjOGuBbHYlesKJKASDSADADASDssdsdsGEcHewOCbVs+IJWBFSi6w1enbKGc+RY9KrnzeDKWWqzYnNofiHGVFAuMxrmZOasqlTIKiC2UK3RssssmLxZicWiQD6i2S9szDy6aZ",
- "comment": "user@mydomain.com",
- "fromIps": [
- "1.1.1.1"
]
}
{- "data": {
- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff",
- "message": "Successfully add ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Modify an existing SSH key's properties, such as its comment or the allowed IP addresses.
Parameters to update the SSH key, including its MD5 fingerprint and optional properties like comments or allowed IPs.
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. |
{- "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": [
- "1.1.1.1"
]
}
{- "data": {
- "message": "Successfully edit ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an existing SSH key from your N0C account. You must provide the key’s MD5 fingerprint for identification.
Parameters required to remove the SSH key.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "key": "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
}
{- "data": {
- "message": "Successfully delete ssh key"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list FTP users.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "id": 757,
- "username": "ftp@mydomain.com",
- "path": "/home/user/public_html/ftp"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
FTP account creation parameters.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "path": "ftpuser/directory",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "createFolder": true
}
{- "data": {
- "id": 1111,
- "username": "ftpuser@mydomain.com",
- "path": "/home/user1/public_html/ftpuser"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters for editing an FTP 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. |
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "ftpUser": "ftpuser1",
- "password": "(%S0L1dP@SsW0RdZ%&)",
- "path": "ftpuser/directory"
}
{- "data": [
- {
- "message": "Successfully update ftp password"
}, - {
- "message": "Successfully update ftp path"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to remove an FTP 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. |
domain required | string The domain name of the FTP account to be removed. |
ftpUser required | string The FTP username to delete. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "ftpUser": "ftpuser1"
}
{- "data": {
- "message": "Successfully deleted ftp user."
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve the list of active FTP connections.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "pid": "267888",
- "account": "ftpuser@mydomain.com",
- "time": 78,
- "state": "IDLE",
- "host": "1.1.1.1.",
- "localhost": "myserver2.n0c.ca",
- "localport": "21"
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the Web Application Firewall (WAF) logs for a specified domain.
Learn more about Web App Firewall.
Parameters for retrieving WAF logs.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "hits": [
- {
- "timestamp": "2022-01-22T10:00:20.000Z",
- "request": {
- "geoip": {
- "continent_code": "EU",
- "country_code": "DE",
- "country_name": "Germany",
- "latitude": 51.2299,
- "longitude": 9.9123,
- "ip": "1.1.1.1",
- "timezone": "Europe/Berlin"
}, - "headers": {
- "Host": "mydomain.com",
- "Accept": "*/*",
- "Accept-Encoding": "gzip deflate",
- "Connection": "keep-alive",
- "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:77.0) Gecko/20100101 Firefox/77.0."
}, - "host": "mydomain.com",
- "clientPost": "12345",
- "clientIp": "1.1.1.1",
- "localPort": "80",
- "localIp": "2.2.2.2",
- "method": "GET",
- "uri": "/.env",
- "http_version": "HTTP/1.1",
- "responseStatus": "403",
- "ruleId": 390709
}, - "auditMessages": [
- {
- "details": { }
}
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve the Web Application Firewall (WAF) rules for a specified domain.
Learn more about Web App Firewall.
Parameters for retrieving WAF rules.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com"
}
{- "data": {
- "allRulesRange": "3001-39780",
- "disabledRules": [
- [
- 1111,
- 2222
]
], - "rules": [
- {
- "description": "Possible spam domain: uribl match of submitted link domain on urirbl.com blocklist.",
- "ids": [
- [
- 1111,
- 2222,
- 3333
]
]
}
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Update the WAF rules for a specified domain.
Learn more about Web App Firewall.
Parameters for updating WAF rules.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "domain": "mydomain.com",
- "wafDisabledRules": [
- "12345"
], - "append": true
}
{- "data": {
- "message": "Successfully update rules"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters for retrieving LVE resource usage data based on the desired period type and length.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "periodType": "day",
- "period": 30
}
{- "data": [
- {
- "From": "10-02 16:01",
- "To": "10-03 16:01",
- "Epf": 0,
- "NprocF": 0,
- "PMemF": 0,
- "VMemF": 0,
- "aCPU": 1,
- "mCPU": 15,
- "lCPU": 200,
- "aEP": 0,
- "mEP": 0,
- "lEP": 20,
- "aVMem": 0,
- "mVMem": 0,
- "lVMem": 0,
- "aPMem": 377483096,
- "mPMem": 390561,
- "lPMem": 2147483648,
- "aNproc": 0,
- "mNproc": 3,
- "lNproc": 100,
- "aIO": 0.728,
- "mIO": 1.866,
- "lIO": 24576,
- "aIOPS": 0,
- "mIOPS": 0,
- "lIOPS": 8192
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters for retrieving disk usage data.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "total": 2171624594,
- "diskUsage": {
- "/home/user/public_html": 591396864,
- "/home/user/myapp_node": 4096,
- "/home/user/myapp_python": 12288,
- "/home/user/myapp_ruby": 4096
}, - "dbUsage": {
- "user_mydb1": 10436608,
- "user_mydb2": 4440064
}
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to retrieve visitors statistics.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "period": "7d",
- "domain": "domainexample.com",
- "unique": false
}
{- "data": {
- "labels": [
- 1728518400000,
- 1728540000000
], - "success": [
- 15,
- 6,
- 4
], - "redirects": [
- 1,
- 3,
- 2
], - "clientErrors": [
- 3,
- 1,
- 1
], - "serverErrors": [
- 0,
- 0,
- 0
]
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Get all the cron jobs in the account.
List Cron parameters.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "crons": [
- {
- "id": "53da936e3fda2cfda1afbd87c4c843c8",
- "schedule": "* * * * *",
- "command": "whoami"
}
], - "cronEmail": "cronjob@mydomain.com"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to configure the new cron job.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "schedule": "* * * * *",
- "command": "whoami"
}
{- "data": {
- "message": "Successfully set crons"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for the cron job removal.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "cronId": "53da936e3fda2cfda1afbd87c4c843c8"
}
{- "data": {
- "message": "Successfully deleted crons"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters for setting the cron email.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "email": "cronemail@mydomain.com"
}
{- "data": {
- "message": "Successfully set email"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
This endpoint allows you to remove an email address that is configured to receive notifications from cron jobs.
Parameters for removing the cron email.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": {
- "message": "Successfully delete cron email"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters for listing WordPress installations.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required for WordPress installation.
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. |
{- "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": {
- "dbName": "user_my_database",
- "dbUser": "user_my_dbuser",
- "dbPass": "(%S0L1dP@SsW0RdZ%&)",
- "dbPrefix": "wp_"
}
}
{- "data": {
- "message": "Successfully installed wordpress"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
This endpoint allows you to delete an existing WordPress installation from your hosting account.
Parameters required to specify the WordPress installation to be removed.
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. |
{- "id": "4444",
- "username": "ffavexdc",
- "path": "/home/user/public_html/blog"
}
{- "data": {
- "message": "Successfully deleted wordpress installation"
}, - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
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.
Parameters required to list available CMS installations:
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "name": "joomla",
- "availableVersions": [
- {
- "tag_name": "1.1.1",
- "name": "Joomla! 1.1.1",
- "prerelease": false,
- "php_min_version": "7.2.5",
- "php_current": "7.2.5",
- "php_ok": true,
- "php_extensions": [
- "phar",
- "gd"
], - "missing_extensions": [
- "gd"
]
}
]
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve a list of all CMS installations on the hosting account, including some configuration details.
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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "path": "/home/username/public_html",
- "cmsType": "prestashop",
- "cmsConfig": {
- "domain": "www.domain.com/prestashop",
- "lscache": {
- "pluginName": "litespeedcache",
- "installed": true,
- "enabled": true
}
}
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Initiate the installation of a Content Management System (CMS) on the specified domain and path with the provided configurations.
The parameters required to install the CMS.
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. |
{- "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
}
{- "data": "12fa6890-a2a2-223ea-a22a-847de9698035",
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Remove an existing CMS installation from the specified path on the hosting 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. |
path required | string The installation path of the CMS to be deleted. This is the location where the CMS was installed. |
{- "id": "4444",
- "username": "ffavexdc",
- "path": "/jooomla-test"
}
{- "data": { },
- "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}
Retrieve a list of CMS installations that are currently in progress or were recently installed on the hosting 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. |
{- "id": "4444",
- "username": "ffavexdc"
}
{- "data": [
- {
- "id": "12fa6890-a2a2-223ea-a22a-847de9698035",
- "status": "running",
- "cmsType": "joomla",
- "time": "2023-05-25T14:40:01.922798012Z",
- "installParams": {
- "tagName": "1.1.1",
- "user": "doexcvbn",
- "domain": "exampledomain.com",
- "path": "jooomla-test/"
}
}
], - "success": true,
- "errors": [ ],
- "reseller_id": "49gg39ed5888ee6bacebea8d8adab1e7"
}