Persists a newDocumentation 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 to the MySQL database. Before saving, the plaintext password is encoded using BCrypt — the raw value is never stored. The email field must be unique across all users; submitting a duplicate email returns a 400 Bad Request with a descriptive message. 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 |
Body Parameters
The user’s display name.
A valid, unique email address. If a user with this email already exists the request is rejected with
400.The user’s plaintext password. It will be BCrypt-encoded before being written to the database. The BCrypt hash is returned in the response body.
Response
201 Created
Returns the newly createdUsuario object, including the BCrypt-encoded password hash.
The auto-generated primary key assigned to the new user.
The user’s display name as provided.
The user’s unique email address as provided.
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 submittedemail is already registered to an existing user.