functions/account-controller/Get-RmmAccountData.ps1

function Get-RmmAccountData {
    <#
    .SYNOPSIS
    Gets RMM account data
 
    .DESCRIPTION
    Fetches the authenticated user's account data
 
    .OUTPUTS
    [System.Object] PSCustomObject containing account data
 
    .EXAMPLE
    $accountData = Get-RmmAccountData
    #>


    return New-RmmApiRequest -method GET -endpoint 'account'
}