Delete a Resource

Resource ID

As shown above this feature in the app is to delete a Resource from your profile. The action is done to delete any unnecessary resources created. THIS IS A PERMANENT ACTION which would delete ALL files in the resource and it cannot be retrieved again. So be careful as a copy of the Resource will not be retained by HydroShare ! But this feature works smoothly without any glitches, just try copying the resource ID from the HTTP hyperlink when you open your resource in Hydroshare.

Below are step by step instructions on how to delete a resource:

Step 1: Sign into HydroShare using your credentials

In the boxes below you enter your HydroShare username and its password. If you have to make an HydroShare account, click here.

Step 2: Enter in the Resource ID and delete the Resource

The resource ID is a unique identifier for every resource on HydroShare. You can find it by clicking on your resource in HydroShare, scrolling down to the “How to Cite” section, and copying the ID from the URL. This is an example hyperlink: https://www.hydroshare.org/resource/08c6e88adaa647cd9bb28e5d619178e0/ from which The 32 letter combination at the end is called the resource ID. The resource ID from the example hyperlink is 08c6e88adaa647cd9bb28e5d619178e0.

Resource ID

Learn more:

To try this on your own, you can use the code snippet below that is used in this demonstration.

    
from hs_restclient import HydroShare, HydroShareAuthBasic
auth = HydroShareAuthBasic(username='myusername', password='mypassword')
hs = HydroShare(auth=auth)
hs.deleteResource('ID OF RESOURCE GOES HERE')