diff --git a/cfapi/base_client.go b/cfapi/base_client.go index 42b99316..48b349c3 100644 --- a/cfapi/base_client.go +++ b/cfapi/base_client.go @@ -48,7 +48,7 @@ func NewRESTClient(baseURL, accountTag, zoneTag, authToken, userAgent string, lo if strings.HasSuffix(baseURL, "/") { baseURL = baseURL[:len(baseURL)-1] } - accountLevelEndpoint, err := url.Parse(fmt.Sprintf("%s/accounts/%s/tunnels", baseURL, accountTag)) + accountLevelEndpoint, err := url.Parse(fmt.Sprintf("%s/accounts/%s/cfd_tunnel", baseURL, accountTag)) if err != nil { return nil, errors.Wrap(err, "failed to create account level endpoint") }