Delete API Key
client.APIKeys.Delete(ctx, apiKeyID) error
DELETE/v1/api_keys/{api_key_id}
Delete API Key
package main
import (
"context"
"github.com/nirvana-labs/nirvana-go"
"github.com/nirvana-labs/nirvana-go/option"
)
func main() {
client := nirvana.NewClient(
option.WithAPIKey("My API Key"),
)
err := client.APIKeys.Delete(context.TODO(), "api_key_id")
if err != nil {
panic(err.Error())
}
}