Skip to main content

Get your own user details

GET 

<your-unleash-url>/api/admin/user

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

Responses

meSchema

Schema
    user objectrequired

    An Unleash user

    idintegerrequired

    The user id

    Example: 123
    isAPIbooleandeprecated

    Deprecated in v5. Used internally to know which operations the user should be allowed to perform

    Example: true
    namestringnullable

    Name of the user

    Example: User
    emailstring

    Email of the user

    Example: user@example.com
    usernamestringnullable

    A unique username for the user

    Example: hunter
    imageUrlstring

    URL used for the user profile image

    Example: https://example.com/242x200.png
    inviteLinkstring

    If the user is actively inviting other users, this is the link that can be shared with other users

    Example: http://localhost:4242/invite-link/some-secret
    loginAttemptsinteger

    How many unsuccessful attempts at logging in has the user made

    Example: 3
    emailSentboolean

    Is the welcome email sent to the user or not

    Example: false
    rootRoleinteger

    Which root role this user is assigned

    Example: 1
    seenAtdate-timenullable

    The last time this user logged in

    Example: 2023-06-30T11:42:00.345Z
    createdAtdate-time

    The user was created at this time

    Example: 2023-06-30T11:41:00.123Z
    accountTypestring

    A user is either an actual User or a Service Account

    Example: User
    permissionsstring[]

    Deprecated

    scimIdstringnullable

    The SCIM ID of the user, only present if managed by SCIM

    Example: 01HTMEXAMPLESCIMID7SWWGHN6
    activeSessionsintegernullable

    Count of active browser sessions for this user

    Example: 2
    deletedSessionsnumber

    Experimental. The number of deleted browser sessions after last login

    Example: 1
    permissions object[]required

    User permissions for projects and environments

  • Array [
  • permissionstringrequired

    Project or environment permission name

    Example: UPDATE_FEATURE_STRATEGY
    projectstring

    The project this permission applies to

    Example: my-project
    environmentstring

    The environment this permission applies to

    Example: development
  • ]
  • feedback object[]required

    User feedback information

  • Array [
  • userIdinteger

    The ID of the user that gave the feedback.

    Example: 2
    neverShowboolean

    true if the user has asked never to see this feedback questionnaire again.

    Example: false
    givendate-timenullable

    When this feedback was given

    Example: 2023-07-06T08:29:21.282Z
    feedbackIdstring

    The name of the feedback session

    Example: pnps
  • ]
  • splash objectrequired

    Splash screen configuration

    property name*boolean

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/user' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
ResponseClear

Click the Send API Request button above and see the response here!