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
| Field | Type | Description |
|---|---|---|
| id | String | Primary key of the database table. |
| tenant_user_id | String | Main user id. |
| tenant_ref | String | Foreign key referencing the id primary key column of the tenant table. |
| username | String | Contains the encrypted username of the user. The value is encrypted using the Tenant encrypt_key. |
| username_hash | String | This value is hashed using the Tenant hash_key. |
| username_type | String | Defines 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. |
| authorities | String[] | Contains the list of authorities (security roles) assigned to the user. |
| user_password | String | Stores the hashed user password. Passwords are hashed using Argon2 before being stored in the database. Plain-text passwords are never stored. |
| source | String | Defines 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_data | Binary | Contains 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. |
| confirmed | Boolean | Defines 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_details | Object | Contains details about the account confirmation process. |
| password_reset_details | Object | Contains details about the password reset process. |
| created | DateTime | UTC timestamp indicating when the Tenant User was created. |
| updated | DateTime | UTC 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"
}| Field | Type | Required | Description |
|---|---|---|---|
| username | String | yes | See the TenantUserEntity type for details. |
| usernameType | String | yes | See the TenantUserEntity type for details. |
| authorities | String[] | yes | See the TenantUserEntity type for details. |
| password | String | Required if you are registering a new Dashboard User | The 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"
}
| Field | Type | Description |
|---|---|---|
| tenantUserId | String | See the TenantUserEntity type for details. |
| username | String | See the TenantUserEntity type for details. |
| usernameType | String | See the TenantUserEntity type for details. |
| authorities | String[] | See the TenantUserEntity type for details. |
| source | String | See the TenantUserEntity type for details. |
| confirmed | Boolean | See the TenantUserEntity type for details. |
| created | DateTime | See the TenantUserEntity type for details. |
| updated | DateTime | See the TenantUserEntity type for details. |
Updated about 1 month ago
Did this page help you?