MCPcopy
hub / github.com/1Panel-dev/MaxKB / delAPIKey

Function delAPIKey

ui/src/api/system-resource-management/application-key.ts:39–46  ·  view source on GitHub ↗
(application_id, api_key_id, loading)

Source from the content-addressed store, hash-verified

37 api_key_id: string,
38 loading?: Ref<boolean>,
39) => Promise<Result<boolean>> = (application_id, api_key_id, loading) => {
40 return del(
41 `${prefix}/${application_id}/application_key/${api_key_id}`,
42 undefined,
43 undefined,
44 loading,
45 )
46}
47
48/**
49 * 修改API_KEY

Callers

nothing calls this directly

Calls 1

delFunction · 0.90

Tested by

no test coverage detected