MCPcopy Create free account
hub / github.com/53AI/53AIHub / DeleteOwnedAPIKey

Method DeleteOwnedAPIKey

api/service/mcp/key_service.go:47–49  ·  view source on GitHub ↗
(ctx context.Context, eid, userID, keyID int64)

Source from the content-addressed store, hash-verified

45}
46
47func (s *APIKeyService) DeleteOwnedAPIKey(ctx context.Context, eid, userID, keyID int64) error {
48 return model.DeleteAPIKeyByCreatorID(eid, userID, keyID)
49}
50
51func (s *APIKeyService) CreateAPIKey(ctx context.Context, eid, userID int64, role int64, name, description string, libraryID *int64) (*model.APIKey, string, error) {
52 spaceID, err := s.resolveAPIKeyScope(eid, userID, role, libraryID)

Callers 1

registerMCPKeyToolsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected