diff --git a/nmagent/client_test.go b/nmagent/client_test.go
index c228b5c9fa..e8f7c2fd19 100644
--- a/nmagent/client_test.go
+++ b/nmagent/client_test.go
@@ -408,14 +408,14 @@ func TestNMAgentSupportedAPIs(t *testing.T) {
{
"empty",
nil,
- "/machine/plugins/?comp=nmagent&type=network/nmagentsupportedapis",
+ "/machine/plugins/?comp=nmagent&type=GetSupportedApis",
"",
false,
},
{
"happy",
[]string{"foo"},
- "/machine/plugins/?comp=nmagent&type=network/nmagentsupportedapis",
+ "/machine/plugins/?comp=nmagent&type=GetSupportedApis",
"foo",
false,
},
diff --git a/nmagent/requests.go b/nmagent/requests.go
index b03e4c0e32..a7809e0b14 100644
--- a/nmagent/requests.go
+++ b/nmagent/requests.go
@@ -302,7 +302,7 @@ func (s *SupportedAPIsRequest) Method() string {
// Path returns the necessary URI path for invoking a supported APIs request.
func (s *SupportedAPIsRequest) Path() string {
- return "/network/nmagentsupportedapis"
+ return "/GetSupportedApis"
}
// Validate is a no-op method because SupportedAPIsRequests have no parameters,