Identity Service

Who am I

Returns the team, and where available the user, that the presented credentials authenticate as. Takes no parameters: the identity is derived entirely from the Authorization header. Authenticating with an API key resolves a team but no user, so username is absent in that case.

get/aaa/identity/v1/whoami

Request

  • Base URL: https://api.eu1.coralogix.com/mgmt/openapi/5
  • URL: https://api.eu1.coralogix.com/mgmt/openapi/5/aaa/identity/v1/whoami
  • Auth: API key in header Authorization

Response

teamIdinteger required

Identifier of the team the credentials belong to.

teamNamestring required

Display name of the team.

teamUrlstring

Full web-app URL of the team. Absent when the team has no URL slug configured.

usernamestring

Username of the authenticated user. Absent when authenticating with an API key, which carries no user identity.

Example response

{
  "teamId": 1234567,
  "teamName": "my-team",
  "teamUrl": "https://my-team.app.coralogix.com",
  "username": "jane.doe@example.com"
}

Changes

No recorded changes to this operation across all 1 revision of this API.