hostinterface.massadd

    This method allows to simultaneously add host interfaces to multiple hosts.

    This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See for more information.

    Parameters

    The method accepts the following parameters.

    (object) Returns an object containing the IDs of the created host interfaces under the interfaceids property.

    Examples

    Creating interfaces

    Request:

    Response:

    1. "jsonrpc": "2.0",
    2. "result": {
    3. "interfaceids": [
    4. "30069",
    5. },
    6. "id": 1
    7. }

    Source