API key leaked - cannot be purged.
# support
m
v
Hi there! Sorry to hear about your API key leak and the UI issues you're experiencing. I understand that you're unable to purge your leaked API key because the trash button in the Vapi UI is broken. This is definitely a concerning situation, but I can help with some alternative methods to address this issue. Based on the information I've found, here are some ways you can purge your API key when the trash button isn't working: ### 1. Use the
/credential
Endpoint You can use the
/credential
endpoint to delete credentials directly through the API. This would typically involve making a
DELETE
request to the endpoint [using an HTTP client](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1317475563220504596). ### 2. Contact Vapi Support Since this is a security concern, reaching out to Vapi support is highly recommended. You can: - Email them at support@vapi.ai - Include your organization ID when contacting them - Provide details about the leaked API key and the UI issue you're experiencing According to [multiple support threads](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238), the support team can help with issues when the UI is not functioning properly. ### 3. Create a New Public Key as a Workaround As an alternative solution, you can [create a new public key and share it with Vapi support](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342455385356898344). They can replace your private key with this new public key, effectively invalidating the leaked key. Is there anything specific about these methods you'd like me to elaborate on further? Sources: - [Discord Thread about credential endpoint](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1317475563220504596) - [Discord Thread about contacting support](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238)
Hi there! I understand you're looking for more information about purging your leaked API key. I'm unable to provide specific details about how to format the DELETE request for the
/credential
endpoint as I don't have that technical information. However, I can still help with the alternative methods mentioned previously. Based on the information I have, here are your options for handling the leaked API key: ### Contact Vapi Support (Recommended) Since this is a security concern, reaching out to Vapi support is your best option: - Email them at support@vapi.ai - Include your organization ID when contacting them - Explain that you have a leaked API key and the trash button in the UI is broken - Provide details about which key was leaked (e.g., "Private Key" or "April New Key" as shown in your screenshot) According to [multiple support threads](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238), the support team can help with issues when the UI is not functioning properly. ### Create a New Public Key as a Workaround As an alternative solution, you can [create a new public key and share it with Vapi support](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342455385356898344). They can replace your private key with this new public key, effectively invalidating the leaked key. Is there anything else you'd like to know about these methods for addressing your leaked API key? Sources: - [Discord Thread about contacting support](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1328923059905630238) - [Discord Thread about creating new public key](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342455385356898344)
I'm sorry, I'm having trouble with your request. A member of the team will be notified and will get back to you as soon as possible.
m
hei, you can use API to do these
k
Hey, can you share your Org ID? I'll remove your existing old private key.
4 Views