User management gives administrators full control over who can access Corpointa and what they can do. From theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/EricMartinez758/corpointa-frontend/llms.txt
Use this file to discover all available pages before exploring further.
/usuarios route, admins can view all accounts, create new users, reset passwords, toggle active status, and monitor when each person last accessed the system. Users authenticate with their cédula and contraseña — there are no email-based logins.
The Users module is restricted to administrator-level accounts. Standard users can manage their own profile and password from the Settings page but cannot access this module.
Data Model
Each user record contains the following fields:| Field | Type | Constraints | Description |
|---|---|---|---|
id_usuario | integer | Primary key, optional on create | Unique numeric identifier for the user |
cedula | string | Required, min 1 char, max 30 chars | Venezuelan national identity number; used as the login username |
nombre1 | string | Required, max 50 chars | First given name |
nombre2 | string | Optional, max 50 chars | Second given name |
apellido1 | string | Required, max 50 chars | First (paternal) surname |
apellido2 | string | Optional, max 50 chars | Second (maternal) surname |
clave | string | Min 6 chars, write-only | Account password; never returned in API responses |
activo | boolean | Optional | Whether the account is enabled for login |
fecha_creacion | string (ISO 8601) | Read-only | Timestamp when the account was created |
ultimo_acceso | string (ISO 8601) | Read-only | Timestamp of the user’s most recent login |
Features
User Table with Last Login
The user list displays the full name, cédula, active status, creation date, and last login timestamp for every account, giving admins a quick activity overview.
Invite / Create Dialog
The New User dialog collects all required fields including the initial password. The
clave field enforces a minimum of 6 characters at the form level.Activate / Deactivate Toggle
Each row includes an
activo toggle. Deactivated accounts cannot log in but are preserved in the database so that historical audit entries remain associated with the correct user.Edit and Delete
Admins can update any user’s personal details or password via the edit dialog. Deleting a user is permanent; deactivation is the preferred approach for former staff.
API Reference
The users API resolves to the/users endpoint (note: the frontend route is /usuarios but the REST resource is /users).
List Users
Returns an array of all user accounts. The Response
clave field is never included in the response.Get Single User
Returns a single user by their
id_usuario.Create User
Creates a new user account. The
id_usuario, fecha_creacion, and ultimo_acceso fields are managed by the server and must not be sent in the request body. The clave field is required on creation.Update User
Updates an existing user. Send only the fields you wish to change. Include
clave only when performing a password reset.Delete User
Permanently removes a user account.
Field Validation
Venezuelan national identity number used as the login credential. Must be at least 1 character and no longer than 30 characters. Include the document prefix, e.g.
V-12345678 or E-87654321.First given name. Required; max 50 characters.
First (paternal) surname. Required; max 50 characters.
Account password. Must be at least 6 characters. Required on create; optional on update (omit to leave the password unchanged). Never returned in any response.
Second given name. Optional; max 50 characters.
Second (maternal) surname. Optional; max 50 characters.
Account enabled state. Set to
false to prevent the user from logging in without deleting their record.