Skip to main content

Get personal dashboard

GET 

<your-unleash-url>/api/admin/personal-dashboard

Return all projects and flags that are relevant to the user.

Responses

personalDashboardSchema

Schema
    admins object[]required

    Users with the admin role in Unleash.

  • Array [
  • idintegerrequired

    The user ID.

    Example: 1
    namestring

    The user's name.

    Example: Ash Ketchum
    usernamestring

    The user's username.

    Example: pokémaster13
    imageUrlstring
    Example: https://example.com/peek-at-you.jpg
    emailstring
    Example: user@example.com
  • ]
  • projectOwners object[]required

    Users with the project owner role in Unleash. Only contains owners of projects that are visible to the user.

  • Array [
  • ownerTypestringrequired

    The type of the owner; will always be user.

    Possible values: [user]

    namestringrequired

    The name displayed for the user. Can be the user's name, username, or email, depending on what they have provided.

    Example: User Name
    imageUrlstringnullable

    The URL of the user's profile image.

    Example: https://example.com/image.jpg
    emailstringnullable

    The user's email address.

    Example: user@example.com
  • ]
  • projects object[]required

    A list of projects that a user participates in with any role e.g. member or owner or any custom role

  • Array [
  • idstringrequired

    The id of the project

    Example: my-project-id
    namestringrequired

    The name of the project

    Example: My Project
    healthintegerrequired

    An indicator of the project's health on a scale from 0 to 100

    Example: 50
    memberCountintegerrequired

    The number of members this project has

    Example: 4
    featureCountintegerrequired

    The number of features this project has

    Example: 10
  • ]
  • flags object[]required

    A list of flags a user created or favorited

  • Array [
  • namestringrequired

    The name of the flag

    Example: my-flag
    projectstringrequired

    The id of the feature project

    Example: my-project-id
    typestringrequired

    The type of the feature flag

    Example: release
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/personal-dashboard' \
-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!