User

Retrieves the current authenticated user's information.

get/user/whoami

Request

  • Base URL: https://remo.nastec.eu/api
  • URL: https://remo.nastec.eu/api/user/whoami
  • Auth: API key in header X-Api-Key

Response

Returns the user data.

idstring nullable

Gets or sets the Mongo objectId.

createdAtstring date-time nullable

Gets or sets the date and time of the entity creation.

updatedAtstring date-time nullable

Gets or sets the date and time of the entity last update.

createdBystring nullable

Gets or sets the who created the entity.

updatedBystring nullable

Gets or sets who has made the last update to the entity.

firstNamestring nullable

Gets or sets the first name of the user.

lastNamestring nullable

Gets or sets the last name of the user.

emailstring nullable

Gets or sets the email address of the user.

lastAccessstring date-time nullable

Gets or sets the last login date and time.

phoneNumberstring nullable

Gets or sets the phone number.

activeboolean

Gets or sets a value indicating whether the user is active.

confirmedboolean

Gets or sets a value indicating whether the user is confirmed.

masterboolean

Gets or sets a value indicating whether the user is a master.

companystring nullable

Gets or sets the user company.

preferredLanguagestring nullable

Gets or sets the user's preferred language code (e.g. "en_uk", "it"); null means English.

countrystring nullable

Gets or sets the country of the user as an ISO 3166-1 alpha-2 code (e.g. IT).

timezonestring nullable

Gets or sets the time zone of the user as an IANA time zone identifier (e.g. Europe/Rome).

userIdinteger

Gets or sets the user id.

isServiceSuperUserboolean

Gets or sets a value indicating whether the user is service super-user.

rolesstring[] nullable

Gets or sets the user roles.

bootloaderboolean

Gets or sets a value indicating whether the user has bootloader access.

remoboolean

Gets or sets a value indicating whether the user has remo access.

serviceboolean

Gets or sets a value indicating whether the user has service access.

codestring nullable

Gets or sets the code of the user.

registeredFromstring nullable

Gets or sets the service from which the user has logged in.

unyconnectLoginAtstring date-time nullable

Gets or sets the last login at Unyconnect service.

nastecnowLoginAtstring date-time nullable

Gets or sets the last login at NastecNow service.

Changes

No recorded changes to this operation across all 1 revision of this API.