Storage - Deleting Storage - Deleting

Storage - Deleting

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:

  1. Choose Storages from the left navigation bar by pressing
  2. Right click on the storage you wish to delete.
  3. Select Delete Storage
  4. Confirm that you want to delete the storage by pressing DELETE

From the Storage’s page

clear missing files

On the Admin page:

  1. Choose Storages from the left navigation bar.
  2. Click on the storage you wish to delete.
  3. On the edit page in the upper right corner, press the gear icon
  4. Click on Delete if you still wish to delete the storage.
  5. 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_assets parameter. 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.