The Usuarios resource represents registered user accounts in the CoworkingBooking platform. Each user holds a display name, a unique email address, a role identifier, and a password value. Through this API you can list all users, look up a specific user by their integer ID, register a new user account, and permanently remove a user from the system.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/devdavco/backend_1/llms.txt
Use this file to discover all available pages before exploring further.
Base path
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /usuarios/ping | Health check — returns the plain text string "pong" |
GET | /usuarios/all | Retrieve a list of all registered users |
GET | /usuarios/{id} | Fetch a single user by their integer ID |
POST | /usuarios/create | Register a new user account |
DELETE | /usuarios/eliminar/{id} | Permanently delete a user by ID |
The Usuario object
Every response that returns user data uses the following shape.Auto-generated primary key. Assigned by the database on creation and never changes.
The user’s full display name. Maximum 100 characters. Cannot be blank.
The user’s email address. Maximum 150 characters. Must be a valid email format and must be unique across all users — duplicate emails are rejected with a
400 error.The password value stored for this user. Maximum 255 characters. See the security warning below.
A free-form role identifier used to differentiate access levels. Common values are
"admin" and "usuario", but the field has no server-side enum constraint.Example Usuario object
Explore the endpoints
GET /ping
Health check that returns the plain text string
"pong".GET /all
Retrieve a list of all registered users in the system.
GET /{id}
Fetch a single user by their integer ID.
POST /create
Register a new user account with name, email, password, and role.
DELETE /eliminar/{id}
Permanently delete a user account by ID.