Skip to content
Get started

Unregister device

client.Devices.Delete(ctx, id) error
delete/devices/{id}

Unregister device

ParametersExpand Collapse
id string
Unregister device
package main

import (
  "context"

  "github.com/kernel/hypeman-go"
  "github.com/kernel/hypeman-go/option"
)

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