latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
UserProfile

Gets the extended profile of the current user

get/current-user

Response

The extended user profile of the user.

created_atstring required

The time the user was first registered with Humanitec

emailstring

The email address of the user from the profile

idstring required

The User ID for this user

namestring required

The name the user goes by

propertiesobject required
rolesRolesResponse required
typestring required

The type of the account. Could be user, service or system

Example response

{
  "created_at": "2020-12-19T09:32:46Z",
  "email": "jo.trigg@awesomecorp.com",
  "id": "d510224a-4641-48fd-8054-68efd3537ee2",
  "name": "Jo Trigg",
  "properties": {
    "dont_show_welcome_screen": true
  }
}