Files
kapow/internal/client/route_remove.go
2019-10-03 20:56:53 +02:00

11 lines
197 B
Go

package client
import (
"github.com/BBVA/kapow/internal/http"
)
func RemoveRoute(host, id string) error {
url := host + "/routes/" + id
return http.Delete(url, "application/json", nil, nil)
}