github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/dds/v3/instances/Delete.go (about) 1 package instances 2 3 import golangsdk "github.com/opentelekomcloud/gophertelekomcloud" 4 5 func Delete(client *golangsdk.ServiceClient, instanceId string) (*string, error) { 6 // DELETE https://{Endpoint}/v3/{project_id}/instances/{instance_id} 7 raw, err := client.Delete(client.ServiceURL("instances", instanceId), nil) 8 return extractJob(err, raw) 9 }