MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Disable

Method Disable

controller/ai-key/iml.go:22–24  ·  view source on GitHub ↗
(ctx *gin.Context, providerId string, id string)

Source from the content-addressed store, hash-verified

20}
21
22func (i *imlAIKeyController) Disable(ctx *gin.Context, providerId string, id string) error {
23 return i.module.UpdateKeyStatus(ctx, providerId, id, false)
24}
25
26func (i *imlAIKeyController) Create(ctx *gin.Context, providerId string, input *ai_key_dto.Create) error {
27 return i.module.Create(ctx, providerId, input)

Callers

nothing calls this directly

Calls 1

UpdateKeyStatusMethod · 0.65

Tested by

no test coverage detected