Loading...

Knowledge Base

Enable SSL for Single Domain Linux Hosting via API

When you want to enable SSL for an existing Single Domain Linux Hosting order using the API. This article explains the required parameters, invoice handling options, optional discount amount configuration, supported server locations, and API request format for enabling SSL.

Enable SSL

 

Description

Enables SSL for an existing Single Domain Linux Hosting Order. To learn more, click here.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe OrderId for which SSL needs to be enabled.
invoice-optionStringRequiredThis parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd
discount-amountFloatOptionalDiscount amount for the order value.

HTTP Method

POST

Example Test URL Request

US, Texas Server https://test.httpapi.com/api/singledomainhosting/linux/us/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice&discount-amount=0.00
India Server https://test.httpapi.com/api/singledomainhosting/linux/in/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice&discount-amount=0.00

Response

Returns a map of the execution details of the enabling of SSL operation.