GET/user/{username}

Get a user by username

Retrieves a user account by username. Supply the username path parameter to identify the account; use user1 for testing.

1 parameter
usernamestringrequired
The username of the account to retrieve; use `user1` for testing.

4 status codes
200Returns the user account object with its identifier and account details.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
400Returned when the supplied username is invalid.
404Returned when no user is found for the supplied username.
defaultUnexpected error

Error handling

A 400 is returned when the username path parameter is invalid. A 404 is returned when no user is found for that username.