Performs a full replacement of aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Miguel-Rodriguez15/msvc/llms.txt
Use this file to discover all available pages before exploring further.
Usuario’s mutable fields (nombre, email, password). All three fields must be supplied — this is not a partial update. The incoming password is BCrypt-encoded before being written to the database, and the resulting hash is returned in the response. If the new email differs from the stored one and is already owned by another user, the request is rejected. A valid OAuth2 Bearer token with the write scope is required.
Base URL: http://localhost:8001Gateway URL:
http://localhost:8090/api/usuarios
Endpoint
Request
Headers
| Header | Value |
|---|---|
Authorization | Bearer <access_token> |
Content-Type | application/json |
Path Parameters
The numeric primary key of the user to update. Must be a positive integer.
Body Parameters
The user’s updated display name.
The user’s updated email address. Must be unique. If the value differs from the currently stored email and is already registered to another user, a
400 is returned.The user’s new plaintext password. It will be BCrypt-encoded before storage. The BCrypt hash is returned in the response body.
Response
201 Created
Returns the updatedUsuario object, including the BCrypt-encoded password hash.
The primary key of the updated user.
The user’s updated display name.
The user’s updated email address.
The BCrypt-encoded password hash (e.g.
$2a$10$...). The original plaintext password is never stored or echoed.400 Bad Request — Duplicate Email
Returned when the newemail is already registered to a different user.
404 Not Found
Returned when no user exists for the providedid. The response body is empty.