Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/stephengpope/thepopebot
/ deleteApiKeyById
Function
deleteApiKeyById
lib/db/api-keys.js:101–104 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
99
* @param {string} id - Record ID
100
*/
101
export
function
deleteApiKeyById(id) {
102
const
db = getDb();
103
db.delete(settings).where(eq(settings.id, id)).run();
104
}
105
106
/**
107
* Delete all API keys (backwards compat).
Callers
1
deleteApiKey
Function · 0.85
Calls
1
getDb
Function · 0.90
Tested by
no test coverage detected