From 80b797b09b181286b82d3c073ab582631493512c Mon Sep 17 00:00:00 2001 From: John Duprey Date: Thu, 29 Jun 2023 08:19:14 -0400 Subject: [PATCH] Update Get-DuoEndpoints.ps1 --- DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1 b/DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1 index b60464c..f6e9afe 100644 --- a/DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1 +++ b/DuoSecurity/Public/Admin API/Endpoints/Get-DuoEndpoints.ps1 @@ -32,9 +32,9 @@ function Get-DuoEndpoints { process { if ($BypassCodeId) { - $Path = '/admin/v1/bypass_codes/{0}' -f $BypassCodeId + $Path = '/admin/v1/endpoints/{0}' -f $BypassCodeId } else { - $Path = '/admin/v1/bypass_codes' + $Path = '/admin/v1/endpoints' } $DuoRequest = @{