Returns an array of user objects that contain only the user specified by the last_name
parameter, if it exists.
{server_url}/users/{last_name}
Parameter name | Type | Description |
---|---|---|
last_name |
string | The last name of the user to return |
None
None
[
{
"last_name": "Jones",
"first_name": "Jillio",
"email": "jlo.jones@example.com",
"id": 2
}
]
Status value | Return status | Description |
---|---|---|
200 | Success | Requested data returned successfully |
404 | Error | Specified user record not found |
ECONNREFUSED | N/A | Service is offline. Start the service and try again. |