Get user by user name
Path parameters
-
The name that needs to be fetched. Use user1 for testing.
GET
/user/{username}
curl \
-X GET /api/v3/user/{username}
Response examples (200)
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}
Response examples (200)
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}