Public/Get-GCTokensMe.ps1
|
<# .SYNOPSIS Retrieves information about the current access token. .DESCRIPTION Returns details about the currently authenticated token in Genesys Cloud. Uses the GET /api/v2/tokens/me endpoint. .EXAMPLE Get-GCTokensMe .NOTES Genesys Cloud API: GET /api/v2/tokens/me #> function Get-GCTokensMe { [CmdletBinding()] param() $endpoint = "tokens/me" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |