Skip to main content
GET
/
v1
/
users
/
me
Get me
curl --request GET \
  --url https://{tenant}.cubecloud.dev/api/v1/users/me \
  --header 'Authorization: <api-key>'
{
  "email": "<string>",
  "id": 123,
  "isAdmin": true,
  "notifications": {},
  "username": "<string>",
  "activeRoleId": 123,
  "aliases": [
    {
      "createdAt": "<string>",
      "id": 123,
      "updatedAt": "<string>",
      "userId": 123,
      "username": "<string>"
    }
  ],
  "createdAt": "2023-12-25",
  "defaultRoles": [
    "<string>"
  ],
  "externalId": "<string>",
  "firstName": "<string>",
  "gitUser": "<string>",
  "impersonation": {
    "expiresAt": "2023-12-25",
    "impersonatedUser": null,
    "startedAt": "2023-12-25"
  },
  "isDeactivated": true,
  "lastLogin": "2023-12-25",
  "picture": "<string>",
  "samlId": "<string>",
  "settings": {
    "alternatingRowColors": true,
    "lastSeenChangelogId": 123,
    "locale": "<string>",
    "theme": "<string>",
    "timezone": "<string>"
  },
  "title": "<string>",
  "tosAccepted": {},
  "updatedAt": "2023-12-25"
}

Authorizations

Authorization
string
header
required

API key authentication. Send Authorization: Api-Key <YOUR_API_KEY>.

Response

200 - application/json
email
string
required
id
integer
required
isAdmin
boolean
required
notifications
object
required
username
string
required
activeRoleId
integer | null
aliases
object[] | null
createdAt
defaultRoles
string[] | null
externalId
string | null
firstName
string | null
gitUser
string | null
impersonation
object
isDeactivated
boolean | null
lastLogin
picture
string | null
samlId
string | null
settings
object
title
string | null
tosAccepted
object
updatedAt