github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/rds/v3/configurations/Delete.go (about) 1 package configurations 2 3 import ( 4 "github.com/opentelekomcloud/gophertelekomcloud" 5 "github.com/opentelekomcloud/gophertelekomcloud/openstack" 6 ) 7 8 // Delete will permanently delete a particular Configuration based on its unique ID. 9 func Delete(c *golangsdk.ServiceClient, id string) (err error) { 10 // DELETE https://{Endpoint}/v3/{project_id}/configurations/{config_id} 11 _, err = c.Delete(c.ServiceURL("configurations", id), 12 &golangsdk.RequestOpts{OkCodes: []int{200}, MoreHeaders: openstack.StdRequestOpts().MoreHeaders}) 13 return 14 }