/administration/users-list and is accessible to Admin accounts. It fetches data from GET /api/users, which is publicly accessible but write operations require elevated roles.
Listing users
The list view shows all registered users in a paginated table with a search bar at the top.| Column | Description |
|---|---|
| Name | User’s full name (FirstName + LastName) |
| Registered email address | |
| Role | Assigned role: ADMIN, ORGANIZER, or USER |
| Reports | Number of reports filed against this user |
| Ratings | Number of ratings this user has received |
| Status | Whether the account is active or blocked |
| Details | Link to the full user profile |
Creating a user
Only admins can create user accounts directly via the API. The Nuevo usuario button on the list page links to/administration/users-list/new.
User fields
| Field | Required | Constraints |
|---|---|---|
email | Yes | Must be a valid email address |
password | Yes | Minimum 8 characters; must include uppercase, lowercase, digit, and special character (@$!%*?&) |
role | Yes | Must be exactly ADMIN, ORGANIZER, or USER |
firstName | Yes | Non-empty string |
lastName | Yes | Non-empty string |
location | Yes | Non-empty string |
Editing a user
Admins (and the user themselves) can edit an account viaPUT /api/users/{id}. The request body uses the same fields as creation.
Deleting a user
Admins (and the user themselves) can delete an account viaDELETE /api/users/{id}.
Blocking and unblocking a user
Blocking toggles theIsBlocked flag on an account. A blocked user cannot interact with the platform. This action is exclusive to Admins.
Locate the target user
Use the search bar to filter by name or email, then find the user in the table.
Click the block/unblock action
In the user’s row, click the status action button. The label reflects the current state — blocked users show an option to unblock, and active users show an option to block.
Calling this endpoint on an already-blocked user unblocks them. It is a toggle — there is no separate unblock endpoint.