Determine API Auth Token used

Product: PowerShell Universal
Version: 2.11.1

Is there a way to determine which auth token is used to authenticate against an API endpoint? I’d like to log who is using the various API calls to help me determine which APIs are being used and where.

APIs receive both an $appToken and $Identity variable that you could use to track who is calling the endpoint.

1 Like

Thanks, that helps to know and gather info for my logs.