Users

Get your own user details

Changed on

Detailed information about the current user, user permissions and user feedback

get/api/admin/user

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/user
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Response

meSchema

splashobject required

Splash screen configuration

Example response

{
  "user": {
    "id": 123,
    "name": "User",
    "email": "user@example.com",
    "username": "hunter",
    "imageUrl": "https://example.com/242x200.png",
    "inviteLink": "http://localhost:4242/invite-link/some-secret",
    "loginAttempts": 3,
    "rootRole": 1,
    "seenAt": "2023-06-30T11:42:00.345Z",
    "createdAt": "2023-06-30T11:41:00.123Z",
    "accountType": "User",
    "scimId": "01HTMEXAMPLESCIMID7SWWGHN6",
    "seatType": "Regular",
    "companyRole": "Developer",
    "activeSessions": 2,
    "deletedSessions": 1
  },
  "permissions": [
    {
      "permission": "UPDATE_FEATURE_STRATEGY",
      "project": "my-project",
      "environment": "development"
    }
  ],
  "feedback": [
    {
      "userId": 2,
      "given": "2023-07-06T08:29:21.282Z",
      "feedbackId": "pnps"
    }
  ]
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status