merge_machine/api.py
def delete_unused_indices():
    '''Delete Elasticsearch indices which are no longer linked to a 
    normalization or link project.
    
    GET:
        - project_type
    '''
    admin = Admin()
    res = admin.delete_unused_indices()
    return jsonify(error=False, indices_deleted=res)
Delete Elasticsearch indices which are no longer linked to a 
    normalization or link project.
    
    GET:
        - project_type
    
Delete Elasticsearch indices which are no longer linked to a
normalization or link project.


Delete Elasticsearch indices which are no longer linked to a normalization or link project .
def delete_unused_indices():
    admin = Admin()
    res = admin.delete_unused_indices()
    return jsonify(error=False, indices_deleted=res)
def delete_unused_indices ( ) : admin = Admin ( ) res = admin . delete_unused_indices ( ) return jsonify ( error = False , indices_deleted = res )
Delete Elasticsearch indices which are no longer linked to a
normalization or link project.
Delete Elasticsearch indices which are no longer linked to a normalization or link project .
'''Delete Elasticsearch indices which are no longer linked to a 
    normalization or link project.
    
    GET:
        - project_type
    '''