Description

This function deletes a feature list.

Examples  


https://hostname.example.com:2087/cpsess##########/json-api/delete_featurelist?api.version=1&featurelist=TestList
https://hostname.example.com:2087/cpsess##########/xml-api/delete_featurelist?api.version=1&featurelist=TestList
whmapi1 delete_featurelist featurelist=TestList

{
    "data": {
        "deleted_featurelist": "TestList"
    },
    "metadata": {
        "version": 1,
        "reason": "OK",
        "result": 1,
        "command": "delete_featurelist"
    }
}
<result>
    <data>
        <deleted_featurelist>TestList</deleted_featurelist>  
    </data>
    <metadata>
        <version>1</version>
        <reason>OK</reason>
        <result>1</result>
        <command>delete_featurelist</command>
    </metadata>
</result>

Parameters

ParameterTypeDescriptionPossible valuesExample

featurelist

string

Required

The feature list's name.

A valid string.TestList

Returns

ReturnTypeDescriptionPossible valuesExample

deleted_featurelist

string

The deleted feature list's name.

A valid feature list name.TestList