Skip to main content

Who am I

GEThttps://api.coralogix.com/mgmt/openapi/5/aaa/identity/v1/whoami

Authorizations

Authorizationstringheaderrequired
API key authentication

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.

Response

application/json

The team, and where available the user, that the presented credentials authenticate as.

    teamId#int64required

    Identifier of the team the credentials belong to.

    Possible values: >= 0 and <= 4294967295

    Example: 1234567
    teamName#stringrequired

    Display name of the team.

    Possible values: non-empty and <= 255 characters, Value must match regular expression ^[\s\S]*$

    Example: my-team
    teamUrl#string

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

    Possible values: non-empty and <= 2048 characters, Value must match regular expression ^https://[^\s/?#]+[^\s]*$

    Example: https://my-team.app.coralogix.com
    username#string

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

    Possible values: non-empty and <= 320 characters, Value must match regular expression ^[\s\S]*$