How to delete an unlisted but active API key?

I have this key that is still in use, i.e. I can see it when I run “curl URLhttps://api.openai.com/v1/me
-H “Authorization: Bearer $OPENAI_API_KEY””
But it’s not listed in the “API keys” tab. I would like to delete it and I don’t know how. I tried "curl -X DELETE
-H “Authorization: Bearer sk-supersecretkey12345”
-H “OpenAI-Organization: org-myorganization12345”
“URLhttps://api.openai.com/v1/api_keys/key-something12345"”

How can I delete such a key?

Welcome @alin.jula

If that key belongs to your account, the only other place to check is Legacy user API keys page.

4 Likes

Thanks @sps. I was able to find it there.

4 Likes