Skip to content
Get started

Delete a tool set

client.ToolSets.Delete(ctx, id) error
DELETE/v1/tool_sets/{id}

Deletes a tool set in the workspace

ParametersExpand Collapse
id string

Delete a tool set

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.ToolSets.Delete(context.TODO(), "id")
  if err != nil {
    panic(err.Error())
  }
}
Returns Examples