The current account
Get the current account's profile
Names, language and email of the account behind the token, read from the directory.
Get the current account's profile › Responses
The profile
firstNameGiven name
lastNameFamily name
emailEmail, also the username
locale[a-z]{2,3}(-[A-Z]{2}…Language of the emails and the login page
Update the current account's profile
Changes the names and the language of the account behind the token. The email, the state and the roles of the account cannot be changed here; the password is changed on the Keycloak page, never through this API. The next token carries the new names.
Update the current account's profile › Request Body
firstNameGiven name
lastNameFamily name
emailEmail, also the username
locale[a-z]{2,3}(-[A-Z]{2}…Language of the emails and the login page
Update the current account's profile › Responses
The updated profile
firstNameGiven name
lastNameFamily name
emailEmail, also the username
locale[a-z]{2,3}(-[A-Z]{2}…Language of the emails and the login page
Get the current account
The account behind the token, its organizations and the role held in each. Everything is read from the token itself, so the answer costs no directory lookup and reflects exactly what the token grants.
Get the current account › Responses
The current account
idAccount identifier
emailAccount email, also its username
roleRealm-wide role, empty when the account holds none
Organizations the account belongs to, alias to display name
Role held per organization, absent where none is held