Users

Get your own user profile

Changed on

Detailed information about the current user root role and project membership

get/api/admin/user/profile

Request

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

Response

profileSchema

projectsstring[] required

Which projects this user is a member of

subscriptionsstring[] required

Which email subscriptions this user is subscribed to

canChangePasswordboolean required

Whether the current user has a local password that can be changed.

Example response

{
  "rootRole": {
    "id": 9,
    "type": "root",
    "name": "Editor",
    "description": "Users with the editor role have access to most features in Unleash but can not manage users and roles in the global scope. Editors will be added as project owners when creating projects and get superuser rights within the context of these projects. Users with the editor role will also get access to most permissions on the default project by default.",
    "project": "default"
  },
  "projects": [
    "my-projectA",
    "my-projectB"
  ],
  "groups": [],
  "subscriptions": [
    "productivity-report"
  ],
  "features": [],
  "canChangePassword": true
}

Changes

    • warning

      added the new SEMVER_GTE enum value to the //////////// response property for the response status

    • warning

      added the new SEMVER_GTE enum value to the //////// response property for the response status

    • warning

      added the new SEMVER_LTE enum value to the //////////// response property for the response status

    • warning

      added the new SEMVER_LTE enum value to the //////// response property for the response status

    • info

      added the required property to the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      added the new REGEX enum value to the //////////// response property for the response status

    • warning

      added the new REGEX enum value to the //////// response property for the response status

    • info

      added the non-success 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

    • info

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

    • info

      response property features/items/environments/items/releasePlans/items/milestones/items/strategies/items/strategyName deprecated (stability: stable)

    • info

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

    • info

      added the required property to the response with the status