user
default

Show details about the calling user.

Changed on
get/user

Request

Response

Information about the calling user: name, email, login, etc.

accountsobject

Mapping from user's account ID the membership status.

emailstring

Email of the user.

idstring required

Auth0 user identifier.

impersonated_bystring

Identifier of the super admin user who is acting on behalf of.

loginstring required

Auth backend user login name.

native_idstring required

Auth backend user identifier.

namestring

Full name of the user.

picturestring

Avatar URL of the user.

updatedstring date-time

Date and time of the last profile update.

Example response

{
  "id": "github|60340680",
  "native_id": "60340680",
  "login": "gkwillie",
  "name": "Groundskeeper Willie",
  "email": "bot@athenian.co",
  "picture": "https://avatars0.githubusercontent.com/u/60340680?v=4",
  "updated": "2020-01-23T12:00:00Z",
  "accounts": {
    "1": {
      "is_admin": true,
      "expired": false,
      "has_jira": true,
      "has_ci": true,
      "has_deployments": true,
      "stale": false
    },
    "2": {
      "is_admin": false,
      "expired": false,
      "has_jira": false,
      "has_ci": true,
      "has_deployments": false,
      "stale": false
    }
  }
}

Changes

    • info

      added the required property // to the response with the status