User Management API
A comprehensive API for managing user accounts, including CRUD operations.
/api/users
Retrieves a list of users. Supports an optional `limit` query parameter (e.g., `?limit=5`) to control the number of users returned. If no limit is provided, all users are returned (up to the total of 25 mock users).
You can add or change query parameters in the path above (e.g., ?name=User).
/api/users/{userId}
Retrieves a specific user by their ID. Replace {userId} with an actual ID like `usr_1`.
Replace placeholders (e.g., {userId}) with actual values in the path above. You can also add/edit query parameters (e.g., ?key=value).
/api/users
Creates a new user.
/api/users/{userId}
Updates an existing user by ID. Replace {userId} with an actual ID like `usr_1`.
Replace placeholders (e.g., {userId}) with actual values in the path above.
/api/users/{userId}
Deletes a user by ID. Replace {userId} with an actual ID like `usr_2`.
Replace placeholders (e.g., {userId}) with actual values in the path above.