.. versionadded:: 2019.2.0

    Remove an item from a devices inventory. Identified by the netbox id

    item_id
        Integer of item to be deleted

    CLI Example:

    .. code-block:: bash

        salt myminion netbox.delete_inventory_item 1354

def delete_inventory_item(item_id):
    '''
    .. versionadded:: 2019.2.0

    Remove an item from a devices inventory. Identified by the netbox id

    item_id
        Integer of item to be deleted

    CLI Example:

    .. code-block:: bash

        salt myminion netbox.delete_inventory_item 1354
    '''
    nb_inventory_item = _get('dcim', 'inventory-items', auth_required=True, id=item_id)
    nb_inventory_item.delete()
    return {'DELETE': {'dcim': {'inventory-items': item_id}}}