IBM Cloud Docs
Why can't I delete my secret group?

Why can't I delete my secret group?

You try to use IBM Cloud® Secrets Manager to delete a secret group, but you're unable to complete the action.

You have a secret group that you no longer need. When you try to delete it in the Secrets Manager UI, you get the following error:

Delete group failed
An error occurred and the secret group couldn't be deleted.

Secret groups are a way to organize and assign access policies to your secrets. By deleting a secret group, you render all the secrets in that group useless. For that reason, you cannot delete a secret group that contains secrets.

To delete a secret group, delete all the secrets that are associated with it and then delete the group itself.

To learn more about secret groups, check out Organizing your secrets.