MCPcopy Create free account
hub / github.com/mlco2/codecarbon / deleteProjectToken

Function deleteProjectToken

webapp/src/api/projectTokens.ts:33–40  ·  view source on GitHub ↗
(
    projectId: string,
    tokenId: string,
)

Source from the content-addressed store, hash-verified

31}
32
33export async function deleteProjectToken(
34 projectId: string,
35 tokenId: string,
36): Promise<void> {
37 await fetchApiVoid(`/projects/${projectId}/api-tokens/${tokenId}`, {
38 method: "DELETE",
39 });
40}

Callers 1

handleDeleteFunction · 0.90

Calls 1

fetchApiVoidFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…