Public/System/Get-SCAOnDemandApprovalConfig.ps1

function Get-SCAOnDemandApprovalConfig {
    <#
    .SYNOPSIS
        Gets the Secure Cloud Access on-demand approval channel configuration.
    .DESCRIPTION
        Calls GET /on-demand/config to return how the tenant is configured to route on-demand
        (out-of-band) approval requests, e.g. which notification channel is used.
    .PARAMETER Session
        A psSCA.Session object or session name. Defaults to the current default session.
    .EXAMPLE
        Get-SCAOnDemandApprovalConfig

        Returns the tenant's on-demand approval channel configuration.
    .INPUTS
        None.
    .OUTPUTS
        psSCA.ApprovalChannel
    .LINK
        https://api-docs.cyberark.com/sca-api/docs/secure-cloud-access-apis
    #>

    [CmdletBinding()]
    [OutputType('psSCA.ApprovalChannel')]
    param(
        [Parameter()]
        [object]$Session
    )

    Invoke-SCARequest -Session $Session -Service 'SCA' -Method GET -Path '/on-demand/config' `
        -Operation 'Get-SCAOnDemandApprovalConfig' -TypeName 'psSCA.ApprovalChannel'
}