Delete cPanel Blocks

Description

Deletes cPanel blocks addon for the specified order. 

You can use this API to reduce the cPanel accounts available on a plan.

A cPanel block is a collection of cPanel accounts.  (1 cPanel block = 10 cPanel accounts)

Parameters

 

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be renewed.
cpanel-blocks Integer Optional

The addon unit of cPanel accounts. 
If the value of this parameter is 1, 10 cPanel accounts will be added.
(1 cPanel block = 10 cPanel accounts)

Value of this parameter will always be greater than 0

invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server https://test.httpapi.com/api/resellerhosting/linux/us/delete-cpanel-blocks.json?auth-userid=20794&api-key=xxxx&order-id=588593&cpanel-blocks=2&invoice-option=NoInvoice India Server https://test.httpapi.com/api/resellerhosting/linux/in/delete-cpanel-blocks.json?auth-userid=20794&api-key=xxxx&order-id=588593&cpanel-blocks=2&invoice-option=NoInvoice

Response

Returns a map of the execution details of the Renew operation.