## Delete an API key `client.APIKeys.Delete(ctx, id) error` **delete** `/v1/api_keys/{id}` Deletes an API key from the workspace ### Parameters - `id string` ### Example ```go package main import ( "context" "github.com/cadenya/cadenya-go" "github.com/cadenya/cadenya-go/option" ) func main() { client := cadenya.NewClient( option.WithAPIKey("My API Key"), ) err := client.APIKeys.Delete(context.TODO(), "id") if err != nil { panic(err.Error()) } } ```