Go
package main import( "context" "os" latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk" "log" ) func main() { ctx := context.Background() s := latitudeshgosdk.New( latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")), ) res, err := s.Servers.Delete(ctx, "<id>", nil) if err != nil { log.Fatal(err) } if res != nil { // handle response } }
The server ID
The reason for deleting the server
No Content
Was this page helpful?