func (c *Client) DeleteReverseTunnel(domainName string) error {
	// this is to avoid confusing error in case if domain emtpy for example
	// HTTP route will fail producing generic not found error
	// instead we catch the error here
	if strings.TrimSpace(domainName) == "" {
		return trace.BadParameter("empty domain name")
	}
	_, err := c.Delete(c.Endpoint("reversetunnels", domainName))
	return trace.Wrap(err)
}
// DeleteReverseTunnel deletes reverse tunnel by domain name
DeleteReverseTunnel deletes reverse tunnel by domain name
// DeleteReverseTunnel deletes reverse tunnel by domain name
func (c *Client) DeleteReverseTunnel(domainName string) error {
	if strings.TrimSpace(domainName) == "" {
		return trace.BadParameter("empty domain name")
	}
	_, err := c.Delete(c.Endpoint("reversetunnels", domainName))
	return trace.Wrap(err)
}
func ( c * Client ) DeleteReverseTunnel ( domainName string ) error { if strings . TrimSpace ( domainName ) == " " { return trace . BadParameter ( " " ) } _ , err := c . Delete ( c . Endpoint ( " " , domainName ) ) return trace . Wrap ( err ) }
DeleteReverseTunnel deletes reverse tunnel by domain name
DeleteReverseTunnel deletes reverse tunnel by domain name
// this is to avoid confusing error in case if domain emtpy for example // HTTP route will fail producing generic not found error // instead we catch the error here