Skip to content
GuidesPlaygroundDashboard

Delete a dataset

client.Datasets.Delete(ctx, id) error
DELETE/api/v1/datasets/{id}

Delete a dataset

ParametersExpand Collapse
id string

Delete a dataset

package main

import (
  "context"

  "github.com/plazafyi/plaza-go"
  "github.com/plazafyi/plaza-go/option"
)

func main() {
  client := githubcomplazafyiplazago.NewClient(
    option.WithAPIKey("My API Key"),
  )
  err := client.Datasets.Delete(context.TODO(), "id")
  if err != nil {
    panic(err.Error())
  }
}
Returns Examples