def remove_user(name, **client_args):
    '''
    Remove a user.

    name
        Name of the user to remove

    CLI Example:

    .. code-block:: bash

        salt '*' influxdb.remove_user <name>
    '''
    if not user_exists(name, **client_args):
        log.info('User \'%s\' does not exist', name)
        return False

    client = _client(**client_args)
    client.drop_user(name)

    return True
def remove_user ( name , ** client_args ) : if not user_exists ( name , ** client_args ) : log . info ( 'User \'%s\' does not exist' , name ) return False client = _client ( ** client_args ) client . drop_user ( name ) return True
Remove a user.

    name
        Name of the user to remove

    CLI Example:

    .. code-block:: bash

        salt '*' influxdb.remove_user <name>