How can I remove already created storage options?

After running prefect storage create a few times, misconfiguring some, I want to remove some storage options, but I don’t see a delete or remove. Is resetting the database the only way?

prefect storage --help
Usage: prefect storage [OPTIONS] COMMAND [ARGS]...

  Commands for managing storage settings.

  --help  Show this message and exit.

  create         Create a new storage configuration.
  ls             View configured storage options.
  reset-default  Reset the default storage option.
  set-default    Change the default storage option.
1 Like

You’re correct here. You can always reset default using: prefect storage reset-default but there’s no delete option, for now, other than resetting the DB. We have the same issue with deployments.

But I’m quite sure this will be added rather soon once the higher priorities are tackled and released.

1 Like