diff --git a/jupyter_notebooks/sharing-exporting-deleting.ipynb b/jupyter_notebooks/sharing-exporting-deleting.ipynb index 3887289..10d9dc4 100644 --- a/jupyter_notebooks/sharing-exporting-deleting.ipynb +++ b/jupyter_notebooks/sharing-exporting-deleting.ipynb @@ -183,7 +183,7 @@ ], "source": [ "object_to_delete = 'GSF015445'\n", - "url_delete_object = app_endpoint + 'arvados-importer/wipeStudy'\n", + "url_delete_object = app_endpoint + 'study-metainfo-editor/wipeStudy'\n", "s.post(url=url_delete_object, json=[object_to_delete])" ] }, diff --git a/scripts/import/delete_study_via_api.py b/scripts/import/delete_study_via_api.py index 5ce40f3..08c24e9 100755 --- a/scripts/import/delete_study_via_api.py +++ b/scripts/import/delete_study_via_api.py @@ -21,7 +21,7 @@ def delete_study(study_accession, srv, token): url_authenticate = app_endpoint + 'signin/authenticateByApiToken' s = requests.Session() s.post(url_authenticate, json=[token]) - url_delete_object = app_endpoint + 'arvados-importer/wipeStudy' + url_delete_object = app_endpoint + 'study-metainfo-editor/wipeStudy' header = {'Genestack-API-Token': token} response = s.post(url=url_delete_object, json=[study_accession], headers=header) print(response.status_code)