MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / deleteAPIKey

Function deleteAPIKey

lib/api.ts:820–825  ·  view source on GitHub ↗
(keyId: number)

Source from the content-addressed store, hash-verified

818 * 删除指定的 API Key
819 */
820export async function deleteAPIKey(keyId: number): Promise<any> {
821 return fetchWithAuth<any>(
822 `${API_BASE_URL}/api/api-keys/${keyId}`,
823 { method: 'DELETE' }
824 );
825}
826
827/**
828 * 提交 OAuth 回调

Callers 1

handleDeleteKeyFunction · 0.90

Calls 1

fetchWithAuthFunction · 0.85

Tested by

no test coverage detected