Knowledge Base
Categories: Multi-Domain Linux Hosting API
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
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
auth-userid | Integer | Required | Your Live Account Reseller ID used to authenticate the API request. |
api-key | String | Required | Your API key used to authenticate the API request. |
order-id | Integer | Required | Order ID of the Multi Domain Linux Hosting order on which the suspension is to be applied. |
reason | String | Required | The 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.
Did you find this article helpful?