Skip to content
Get started

Delete image

client.Images.Delete(ctx, name) error
delete/images/{name}

Delete image

ParametersExpand Collapse
name string
Delete image
package main

import (
  "context"

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

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