Public/Get-GCOrganizationMe.ps1
|
<# .SYNOPSIS Retrieves the current organization details from Genesys Cloud. .DESCRIPTION Queries the Genesys Cloud API to retrieve information about the current organization. This is an alias-style function that provides an alternative name for accessing organization information. API Endpoint: GET /api/v2/organizations/me .EXAMPLE Get-GCOrganizationMe Retrieves the current organization details. .NOTES Genesys Cloud API: GET /api/v2/organizations/me #> function Get-GCOrganizationMe { [CmdletBinding()] param() $endpoint = "organizations/me" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |