Skip to content

Commit c93b7eb

Browse files
author
mwatson
committed
correct endpoint for API call
1 parent f6b482f commit c93b7eb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Dlls/StackifyLib/StackifyLib.dll

0 Bytes
Binary file not shown.

Src/StackifyLib/API.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static bool RemoveServerByID(int id, bool uninstallAgent = false)
4444
public static bool RemoveServerByName(string name, bool uninstallAgent = false)
4545
{
4646
var response = client.POSTAndGetResponse(System.Web.VirtualPathUtility.AppendTrailingSlash(client.BaseAPIUrl) +
47-
"API/Device/RemoveServerByID/?name=" + name + "&uninstallAgent=" + uninstallAgent,
47+
"API/Device/RemoveServerByName/?name=" + name + "&uninstallAgent=" + uninstallAgent,
4848
null);
4949

5050
return response.StatusCode == HttpStatusCode.OK;

0 commit comments

Comments
 (0)