Delete snapshot schedule for an instance
client.Instances.SnapshotSchedule.Delete(ctx, id) error
/instances/{id}/snapshot-schedule
Delete snapshot schedule for an instance
Parameters
id string
Delete snapshot schedule for an instance
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.Instances.SnapshotSchedule.Delete(context.TODO(), "id")
if err != nil {
panic(err.Error())
}
}