functions/public/Get-Account.ps1

function Get-Account {
    [CmdletBinding()]
    param ()

    process {
        $url = "/api/v1/accounts"

        $response = Invoke-Api $url -Method 'GET'
        return $response
    }
}