The best way to remove the storage is to delete the object in iconik and then run an API call to remove all of the missing files.
Roles
These are the roles that are needed:
- Owner
- read storage
- write storage
- reindex storage
1. Identify the Storage ID
Navigate to the storage in iconik and copy the ID from the browser's URL.
2. Delete the Storage in iconik
From the Storage list
On the Admin page:
- Choose Storages from the left navigation bar by pressing
- Right click on the storage you wish to delete.
- Select Delete Storage
- Confirm that you want to delete the storage by pressing DELETE
From the Storage’s page
On the Admin page:
- Choose Storages from the left navigation bar.
- Click on the storage you wish to delete.
- On the edit page in the upper right corner, press the gear icon
- Click on Delete if you still wish to delete the storage.
- Confirm by clicking DELETE
3. Remove file records via API
- Run this API call to remove all of the file entries from the storage, using the ID noted earlier.
- Be cautious with the
remove_assetsparameter. if this is set to true, the entire asset will be deleted if there isn't a copy of the file on another storage. - When you run this endpoint, you'll see a job show up in the job dashboard that you can use to track progress. Once it has finished, you should no longer see any entries from the deleted storage.