Public/Policies/Get-IDAuthenticationPolicyModifier.ps1

function Get-IDAuthenticationPolicyModifier {

    [CmdletBinding()]
    param
    (

    )

    BEGIN {} #begin

    PROCESS {

            #Constructed parameters for the rest call
            $RestCall = @{

            "URI"         = "https://$($ISPSSSession.TenantId).id.cyberark.cloud/Policy/GetAuthPolicyModifiers"
            "Headers"     = $($ISPSSSession.WebSession.Headers)
            "Method"      = "Post"
            "ContentType" = "application/json"

            }

            # invoking the rest call
            $result = Invoke-IDRestMethod @RestCall

            return $result
        } #process

    END {} #end
}