The Users API provides endpoints for registering new accounts, reading user profile data, updating account details, and deleting users. Most write operations require an authenticated session via theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Esteban-Mendez-j/Proyecto-Docker/llms.txt
Use this file to discover all available pages before exploring further.
jwtToken cookie. See Authenticate with SearchJobs API for details on how to obtain and send that cookie.
Create a user
Registers a new user account. This endpoint is public — no authentication is required.The user’s full name. Maximum 50 characters.
The user’s email address. Must be unique across all accounts. Maximum 100 characters.
The user’s password. Maximum 15 characters. Required on account creation.
The user’s phone number. Must be unique if provided. Maximum 15 characters.
URL or path to the user’s profile image. Maximum 255 characters. Required on account creation.
A short bio or description for the user’s profile. Maximum 400 characters.
List of roles to assign to the user (e.g.,
["ROLE_CANDIDATO"]). The first entry becomes the primary role.UsuarioDTO object with HTTP 201 Created.
The numeric ID assigned to the new user.
The user’s full name.
The user’s email address.
The user’s phone number.
URL or path to the user’s profile image.
The user’s bio or description.
All roles assigned to the user.
The date the account was created (
YYYY-MM-DD).Whether the account is currently active.
201 Created):
Get the current user’s role
Returns the role of the user associated with thejwtToken cookie. If the cookie is absent or invalid, returns ROLE_INVITADO without an error.
jwtToken cookie to get the authenticated user’s role.
The user’s primary role. One of
CANDIDATO, EMPRESA, ADMIN, SUPER_ADMIN, or ROLE_INVITADO.All roles assigned to the user.
The authenticated user’s numeric ID. Not present when not authenticated.
Get current user’s name and profile image
Returns the display name and profile image of the authenticated user. Requires a validjwtToken cookie.
jwtToken cookie must be present and valid.
HTTP status code.
200 on success, 404 if no session is found.The authenticated user’s full name.
URL or path to the user’s profile image.
Get a user by ID
Returns full profile data for a specific user by their numeric ID.The numeric ID of the user to retrieve.
UsuarioDTO object. See Create a user for the full list of response fields.
Update a user
Updates the profile data for an existing user. Send only the fields you want to change alongside any required fields.The numeric ID of the user to update.
idUsuario with HTTP 200 OK.
The numeric ID of the updated user.
Delete a user
Permanently removes a user from the system. Returns no body on success.The numeric ID of the user to delete.
204 No Content on success.