MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RevokeAPIKey

Method RevokeAPIKey

apikey.go:48–50  ·  view source on GitHub ↗

RevokeAPIKey revokes an API key if it belongs to the specified owner Parameters: - ctx: The context for the operation - id: ID of the API key to revoke - ownerID: ID of the key owner Returns: - error: An error if the operation fails

(ctx context.Context, id, ownerID string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestRevokeAPIKey_MockFunction · 0.95

Calls 1

RevokeAPIKeyMethod · 0.65

Tested by 1

TestRevokeAPIKey_MockFunction · 0.76