Loading...

Knowledge Base

Suspend a Multi Domain Linux Hosting Order Using the API

Summary

When you want to suspend an existing Multi Domain Linux Hosting order using the API. This article explains the required order details and how to submit the suspension request.

Description

Applies a suspension to the specified Multi Domain Linux Hosting order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredYour Live Account Reseller ID used to authenticate the API request.
api-keyStringRequiredYour API key used to authenticate the API request.
order-idIntegerRequiredOrder ID of the Multi Domain Linux Hosting order on which the suspension is to be applied.
reasonStringRequiredThe reason for suspending the order.


HTTP Method

POST


Example Test URL Request

https://test.httpapi.com/api/orders/suspend.json?auth-userid=0&api-key=key&order-id=0&reason=reason-for-suspension


Response

Returns a hash map containing the details of the suspension action, including:

  • Domain Name (description)

  • Order ID of the suspended order (entityid)

  • Action Type (actiontype)

  • Description of the suspension action (actiontypedesc)

  • Action ID (eaqid)

  • Suspension Action Status (actionstatus)

  • Description of the Suspension Action Status (actionstatusdesc)

If an error occurs, the response contains a status key with the value ERROR, along with the relevant error message.