def delete_mirror(name, config_path=_DEFAULT_CONFIG_PATH, force=False):
    '''
    Remove a mirrored remote repository. By default, Package data is not removed.

    :param str name: The name of the remote repository mirror.
    :param str config_path: The path to the configuration file for the aptly instance.
    :param bool force: Whether to remove the mirror even if it is used as the source
        of an existing snapshot.

    :return: A boolean representing whether all changes succeeded.
    :rtype: bool

    CLI Example:

    .. code-block:: bash

        salt '*' aptly.delete_mirror name="test-mirror"
    '''
    _validate_config(config_path)
    force = six.text_type(bool(force)).lower()

    current_mirror = __salt__['aptly.get_mirror'](name=name, config_path=config_path)

    if not current_mirror:
        log.debug('Mirror already absent: %s', name)
        return True

    cmd = ['mirror', 'drop', '-config={}'.format(config_path),
           '-force={}'.format(force), name]

    _cmd_run(cmd)
    mirror = __salt__['aptly.get_mirror'](name=name, config_path=config_path)

    if mirror:
        log.error('Unable to remove mirror: %s', name)
        return False
    log.debug('Removed mirror: %s', name)
    return True
Remove a mirrored remote repository. By default, Package data is not removed.

    :param str name: The name of the remote repository mirror.
    :param str config_path: The path to the configuration file for the aptly instance.
    :param bool force: Whether to remove the mirror even if it is used as the source
        of an existing snapshot.

    :return: A boolean representing whether all changes succeeded.
    :rtype: bool

    CLI Example:

    .. code-block:: bash

        salt '*' aptly.delete_mirror name="test-mirror"