Overview
Error Handling

Methods

API Documentation (API Version bleed)

Licensing/Cpanel/

DESCRIPTION

This section of the API handles operations of a cPanel license currently assigned to a sub-account.

changeVariety

URL:

https://api.liquidweb.com/bleed/Licensing/Cpanel/changeVariety

Description:

This method can be used to change a sub-account's cPanel license variety.

Parameters:

ParameterTypeNotes
subaccntA valid id number (a positive integer).* Required if:
  • uniq_id is not given
uniq_idA six-character identifier, containing only capital letters and digits.
varietyA single word, consisting of only letters, digits, hyphens, and underscores.* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

currentVariety

URL:

https://api.liquidweb.com/bleed/Licensing/Cpanel/currentVariety

Description:

This method can be used to gather information about a sub-account's current cPanel license variety.

Parameters:

ParameterTypeNotes
subaccntA valid id number (a positive integer).* Required if:
  • uniq_id is not given
uniq_idA six-character identifier, containing only capital letters and digits.

Returns:

FieldType
varietyA single word, consisting of only letters, digits, hyphens, and underscores.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types