public void RemoveWebServiceEndpoint(WorkspaceSetting setting, string webServiceId, string endpointName)
{
ValidateWorkspaceSetting(setting);
Util.AuthorizationToken = setting.AuthorizationToken;
string queryUrl = WebServiceApi + string.Format("workspaces/{0}/webservices/{1}/endpoints/{2}", setting.WorkspaceId, webServiceId, endpointName);
HttpResult hr = Util.HttpDelete(queryUrl).Result;
if (!hr.IsSuccess)
throw new AmlRestApiException(hr);
}
#endregion