예제 #1
0
def delete_sample_set(namespace, workspace, sample_set_id):
    """Delete sample set from workspace/namespace
    Args: 
        Self-explanatory
    Returns: 
        HTTP Response
    """
    body = [{"entityType": "sample_set", "entityName": sample_set_id}]
    res = firecloud_api.delete_entities(namespace, workspace, body)
    return res
예제 #2
0
def delete_participant(namespace, workspace, participant_id):
    """Delete participant from workspace/namespace
    Args: 
        Self-explanatory
    Returns: 
        HTTP Response
    """
    body = [{"entityType": "participant", "entityName": participant_id}]
    res = firecloud_api.delete_entities(namespace, workspace, body)
    return res
예제 #3
0
def delete_pair(namespace, workspace, pair_id):
    """Delete pair from workspace/namespace
    """
    body = [{"entityType": "pair", "entityName": pair_id}]
    res = firecloud_api.delete_entities(namespace, workspace, body)
    return res