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":