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
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
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