TenantUser

This section covers the data structures and types used by the persisted database entity, as well as the JSON input and output models used by the Configuration Dashboard API.

TenantUserEntity (Database Record)

tenant_user Database Table

FieldTypeDescription
idStringPrimary key of the database table.
tenant_user_idStringMain user id.
tenant_refStringForeign key referencing the id primary key column of the tenant table.
usernameStringContains the encrypted username of the user. The value is encrypted using the Tenant encrypt_key.
username_hashStringThis value is hashed using the Tenant hash_key.
username_typeStringDefines the format type of the username.
Allowed values: ANY, EMAIL.
ANY allows usernames in any format, while EMAIL requires the username to follow a valid email format.
authoritiesString[]Contains the list of authorities (security roles) assigned to the user.
user_passwordStringStores the hashed user password. Passwords are hashed using Argon2 before being stored in the database. Plain-text passwords are never stored.
sourceStringDefines the source from which the user account was created. Allowed values: DASHBOARD, GATEWAY.
DASHBOARD indicates that the user was manually created through the Configuration Dashboard API, while GATEWAY indicates that the user was created through the Gateway signup process.
See the corresponding page in the documentation at this link for more details.
user_dataBinaryContains the binary representation of an encrypted JSON value. The JSON value must be either a non-empty JSON object or a non-empty JSON array.
The JSON is encrypted using the Tenant encrypt_key.
confirmedBooleanDefines whether the user account has been confirmed after signup.
This field is set to true by default for Dashboard Users when they are created. Dashboard Users do not go through the account confirmation flow.
See the corresponding page in the documentation at this link for more details.
confirm_detailsObjectContains details about the account confirmation process.
password_reset_detailsObjectContains details about the password reset process.
createdDateTimeUTC timestamp indicating when the Tenant User was created.
updatedDateTimeUTC timestamp indicating the last time the Tenant User was updated.

TenantUserDto (Dashboard API Input)

📘

This API input applies only to Dashboard Users. See the corresponding page in the documentation at this link for more details.

{
  "username": "anyUsername",
  "usernameType": "ANY",
  "authorities": ["USER", "ADMIN"],
  "password": "password"
}
FieldTypeRequiredDescription
usernameStringyesSee the TenantUserEntity type for details.
usernameTypeStringyesSee the TenantUserEntity type for details.
authoritiesString[]yesSee the TenantUserEntity type for details.
passwordStringRequired if you are registering a new Dashboard UserThe password to set for this Dashboard User.
Leave blank to keep the current password when you are updating the user.

TenantUserResource (Dashboard API Output)

📘

This API output applies only to Dashboard Users. See the corresponding page in the documentation at this link for more details.


{
  "tenantUserId": "3c1b682d-12bd-4b13-a418-79b80f7112d5",
  "username": "anyUsername",
  "usernameType": "ANY",
  "authorities": ["USER", "ADMIN"],
  "source": "DASHBOARD",
  "confirmed": true,
  "created": "2026-08-15T14:03:27.251Z",
  "updated": "2026-08-24T17:38:27.734Z"
}
FieldTypeDescription
tenantUserIdStringSee the TenantUserEntity type for details.
usernameStringSee the TenantUserEntity type for details.
usernameTypeStringSee the TenantUserEntity type for details.
authoritiesString[]See the TenantUserEntity type for details.
sourceStringSee the TenantUserEntity type for details.
confirmedBooleanSee the TenantUserEntity type for details.
createdDateTimeSee the TenantUserEntity type for details.
updatedDateTimeSee the TenantUserEntity type for details.

Did this page help you?