object hostinterface.delete(array hostInterfaceIds)
This method allows to delete host interfaces.此方法允许删除主机接口。
(array)
IDs of the host interfaces to delete.要删除的主机接口的ID。
(object)
Returns an object containing the IDs of the deleted host interfaces under the interfaceids
property.返回包含“interfaceids”属性下删除的主机接口的ID的对象。
Delete the host interface with ID 30062.删除ID为30062的主机接口。
Request:
{
"jsonrpc": "2.0",
"method": "hostinterface.delete",
"params": [
"30062"
],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 1
}
Response:
CHostInterface::delete() in frontends/php/include/classes/api/services/CHostInterface.php.