Skip to content
API Reference

Delete zone

client.Zones.Delete(ctx, zoneID) error
DELETE/zones/{zoneId}

Permanently deletes a zone and all its associated resources

ParametersExpand Collapse
zoneID string

Delete zone

package main

import (
  "context"

  "github.com/keycardai/keycard-go"
)

func main() {
  client := keycard.NewClient(

  )
  err := client.Zones.Delete(context.TODO(), "zoneId")
  if err != nil {
    panic(err.Error())
  }
}
Returns Examples