I deleted the OpenAI plugin, and after reinstalling it, the original API key was automatically restored. I want to clear it. #19968

Closed
opened 2026-02-21 20:05:10 -05:00 by yindo · 2 comments
Owner

Originally created by @jackleehui on GitHub (Oct 27, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.8.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I want the API key to be automatically cleared after the model plugin is deleted, or tell me in which table I can clear it.

The key shown in the image is what I deleted in the Dify interface, but it still actually exists.

Image

✔️ Expected Behavior

I want to clear the API key completely.

Actual Behavior

No response

Originally created by @jackleehui on GitHub (Oct 27, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.8.2 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I want the API key to be automatically cleared after the model plugin is deleted, or tell me in which table I can clear it. The key shown in the image is what I deleted in the Dify interface, but it still actually exists. <img width="1170" height="1047" alt="Image" src="https://github.com/user-attachments/assets/70613d07-8b7f-40bc-bcae-fb8ec3b38f04" /> ### ✔️ Expected Behavior I want to clear the API key completely. ### ❌ Actual Behavior _No response_
yindo added the 🐞 buggood first issue labels 2026-02-21 20:05:10 -05:00
yindo closed this issue 2026-02-21 20:05:11 -05:00
Author
Owner

@shrutipandya3 commented on GitHub (Oct 28, 2025):

Can I work on this if still open?

@shrutipandya3 commented on GitHub (Oct 28, 2025): Can I work on this if still open?
Author
Owner

@Mairuis commented on GitHub (Dec 26, 2025):

Thank you for your work, but ... If you want to delete your credentials from Dify, you should delete them for each one, not uninstall the plugin. because in some cases (like upgrade), actually, dify will uninstall then re-install the new version plugin. And we don't recommend producing more steps in uninstalling plugin-like options.

@Mairuis commented on GitHub (Dec 26, 2025): Thank you for your work, but ... If you want to delete your credentials from Dify, you should delete them for each one, not uninstall the plugin. because in some cases (like upgrade), actually, dify will uninstall then re-install the new version plugin. And we don't recommend producing more steps in uninstalling plugin-like options.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#19968